PdfExtractedAttachment
OfficeIMO.Pdf
Represents an embedded file attachment extracted from a parsed PDF catalog.
Inheritance
- object
- PdfExtractedAttachment
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
Inherited Methods
Properties
public string Name { get; } #Name-tree key associated with this embedded file.
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 int FileSpecObjectNumber { get; } #Object number of the file specification dictionary, or 0 for a direct dictionary.
public int EmbeddedFileObjectNumber { get; } #Object number of the embedded file stream, or 0 for a direct stream.
public string Source { get; } #Catalog source that referenced this attachment, for example Names/EmbeddedFiles or AF.
public DateTimeOffset? CreationDate { get; } #Embedded-file creation date from /Params, when readable.
public DateTimeOffset? ModificationDate { get; } #Embedded-file modification date from /Params, when readable.
public byte[] Bytes { get; } #Decoded embedded file bytes. The returned array is a defensive copy.