The FileAttachment type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | FileAttachment |
Initializes a new instance of the
FileAttachment
class with default settings.
|
Methods
Name | Description | |
---|---|---|
![]() | Clone |
Creates a new object that is a copy of the current instance.
(Inherited from SerializableBase.) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) |
![]() | GetHashCode |
Serves as a hash function for a particular type.
(Inherited from Object.) |
![]() | GetType |
Gets the Type of the current instance.
(Inherited from Object.) |
![]() | Load | Overloaded.
Loads the attachment.
|
![]() | MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) |
![]() | Save | Overloaded.
Saves the attachment.
|
![]() | ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
![]() | Contents |
Gets or sets the byte array containing the file's contents.
|
![]() | ContentsSpecified |
Include the Contents
property when serializing the class or generating the document.
|
![]() | FileType |
Gets or sets the file type for the image file.
|
![]() | FileTypeSpecified |
Include the FileType
property when serializing the class or generating the document.
|
![]() | Name |
Gets or sets the name of the file, including the file extension.
|
![]() | NameSpecified |
Include the Name
property when serializing the class or generating the document.
|