.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+

PdfFileAttachment Members

Represents an attachment where a file can be embedded to a PDF document.

Constructors

Name Description
PdfFileAttachment() Initializes a new instance of the PdfFileAttachment class with the default settings.

Properties

Name Description
CreationDate Gets or sets date when the file attachment was created in the document.
Data Gets or sets the data of the attached file represented as a byte array.
Description Specifies the description for the attached file shown in the Attachments panel of a PDF Viewer.
FileName Gets or sets the attached file name.
MimeType Gets or sets the MIME type (content type) of the attached file.
ModificationDate Gets or sets the date and time of the attachment file's last modification.
Relationship Gets or sets the relationship between the document and the attachment file.
Size Gets the size of the file attachment.

Methods

Name Description
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also