API Reference

Class

PdfAttachmentInfo

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

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.

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.