Click or drag to resize

PdfAttachment Class

Represents attachments of the Pdf document.
Inheritance Hierarchy
System Object
Spire.Pdf.General PdfFileSpecificationBase
Spire.Pdf.General PdfEmbeddedFileSpecification
Spire.Pdf.Attachments PdfAttachment

Namespace: Spire.Pdf.Attachments
Assembly: Spire.Pdf (in Spire.Pdf.dll) Version: 11.3.7.0 (11.3.7.1046)
Syntax
public class PdfAttachment : PdfEmbeddedFileSpecification

The PdfAttachment type exposes the following members.

Constructors
Properties
Name Description
Public property CreationDate
Gets or sets creation date.
(Inherited from PdfEmbeddedFileSpecification .)
Public property Data
Gets or sets the data.
(Inherited from PdfEmbeddedFileSpecification .)
Public property Description
Gets or sets the description.
(Inherited from PdfEmbeddedFileSpecification .)
Public property FileName
Gets or sets the File Name.
(Inherited from PdfEmbeddedFileSpecification .)
Public property MimeType
Gets or sets the MIME type of the embedded file.
(Inherited from PdfEmbeddedFileSpecification .)
Public property ModificationDate
Gets or sets modification date.
(Inherited from PdfEmbeddedFileSpecification .)
Top
Methods
Name Description
Public method Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object .)
Protected method Finalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object .)
Protected method FormatFileName
Formats file name to Unix format.
(Inherited from PdfFileSpecificationBase .)
Public method GetHashCode
Serves as the default hash function.
(Inherited from Object .)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object .)
Protected method Initialize (Inherited from PdfEmbeddedFileSpecification .)
Protected method MemberwiseClone
Creates a shallow copy of the current Object .
(Inherited from Object .)
Protected method Save (Inherited from PdfEmbeddedFileSpecification .)
Public method SetFieldValue(String, DateTime)
Set the corresponding field value by field name.
(Inherited from PdfEmbeddedFileSpecification .)
Public method SetFieldValue(String, Int32)
Set the corresponding field value by field name.
(Inherited from PdfEmbeddedFileSpecification .)
Public method SetFieldValue(String, String)
Set the corresponding field value by field name.
(Inherited from PdfEmbeddedFileSpecification .)
Public method ToString
Returns a string that represents the current object.
(Inherited from Object .)
Top
See Also