API Reference

Class

PdfExtractedAttachment

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Represents an embedded file attachment extracted from a parsed PDF catalog.

Inheritance

  • Object
  • PdfExtractedAttachment

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 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 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 String Source { get; } #

Catalog source that referenced this attachment, for example Names/EmbeddedFiles or AF.

public Nullable<DateTimeOffset> CreationDate { get; } #

Embedded-file creation date from /Params, when readable.

public Nullable<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.