API Reference
PdfAttachmentInfo
Lightweight metadata for an embedded or associated PDF file attachment without exposing the attachment payload.
Inheritance
- Object
- PdfAttachmentInfo
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method PdfDocumentInfo.GetAttachmentsByFileName
- Method PdfDocumentInfo.GetAttachmentsByName
- Method PdfDocumentInfo.GetAttachmentsByRelationship
- Method PdfDocumentInfo.GetAttachmentsBySource
- Property PdfDocumentInfo.Attachments
- Property PdfDocumentInfo.AttachmentsByFileName
- Property PdfDocumentInfo.AttachmentsByName
- Property PdfDocumentInfo.AttachmentsByRelationship
- Property PdfDocumentInfo.AttachmentsBySource
- Method PdfDocumentReader.AttachmentMetadata
- Method PdfDocumentReader.AttachmentMetadataByFileName
- Method PdfDocumentReader.AttachmentMetadataByName
- Method PdfDocumentReader.AttachmentMetadataByRelationship
- Method PdfDocumentReader.AttachmentMetadataBySource
- Method PdfDocumentReader.TryAttachmentMetadata
- Method PdfDocumentReader.TryAttachmentMetadataByFileName
- Method PdfDocumentReader.TryAttachmentMetadataByName
- Method PdfDocumentReader.TryAttachmentMetadataByRelationship
- Method PdfDocumentReader.TryAttachmentMetadataBySource
- Method PdfLogicalDocument.GetAttachmentsByFileName
- Method PdfLogicalDocument.GetAttachmentsByRelationship
- Method PdfLogicalDocument.GetAttachmentsBySource
- Property PdfLogicalDocument.Attachments
- Property PdfReadDocument.Attachments
Inherited Methods
Properties
public String Name { get; } #Name-tree key or associated-file fallback name for this attachment.
public String FileName { get; } #File name from the file specification dictionary.
public String UnicodeFileName { get; } #Unicode file name from /UF, when present.
public String Description { get; } #Human-readable file description from /Desc, when present.
public String MimeType { get; } #MIME type decoded from the embedded file stream /Subtype name, when present.
public PdfAssociatedFileRelationship Relationship { get; } #Associated-file relationship from /AFRelationship, or Unspecified when absent.
public String Filter { get; } #PDF stream filter name or comma-separated filter names when present.
public Int32 FileSpecObjectNumber { get; } #Object number of the file specification dictionary, or 0 for a direct dictionary.
public Int32 EmbeddedFileObjectNumber { get; } #Object number of the embedded file stream, or 0 for a direct stream.
public Int32 SizeBytes { get; } #Decoded attachment payload size in bytes.
public String Source { get; } #Catalog source that referenced this attachment, for example Names/EmbeddedFiles or AF.
public Nullable<DateTimeOffset> CreationDate { get; } #Embedded-file creation date, when readable.
public Nullable<DateTimeOffset> ModificationDate { get; } #Embedded-file modification date, when readable.
public Boolean IsAssociatedFile { get; } #True when the attachment was referenced from the catalog /AF associated-files array.