# PdfExtractedAttachment

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

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfExtractedAttachment.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfExtractedAttachment.cs#L40)

**Modifiers**

sealed

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

- Method [PdfDocument.ExtractAttachments](/api/pdf/officeimo-pdf-pdfdocument/#method-extractattachments)
- Method [PdfDocumentAttachments.Extract](/api/pdf/officeimo-pdf-pdfdocumentattachments/#method-extract-officeimo-pdf-pdfloadoptions)

Filter members 

Show inherited

## Inherited Methods

`public virtual bool Equals(object? obj)` [#](#method-equals-object)

Inherited from object

Parameters

**obj object? required**

Returns

`bool`

`public virtual int GetHashCode()` [#](#method-gethashcode)

Inherited from object

Returns

`int`

`public Type GetType()` [#](#method-gettype)

Inherited from object

Returns

`Type`

`public virtual string? ToString()` [#](#method-tostring)

Inherited from object

Returns

`string?`

## Properties

`public string Name { get; }` [#](#property-name)

[PdfExtractedAttachment.cs:40](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfExtractedAttachment.cs#L40)

Name-tree key associated with this embedded file.

`public string FileName { get; }` [#](#property-filename)

[PdfExtractedAttachment.cs:43](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfExtractedAttachment.cs#L43)

File name from the file specification dictionary.

`public string? UnicodeFileName { get; }` [#](#property-unicodefilename)

[PdfExtractedAttachment.cs:46](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfExtractedAttachment.cs#L46)

Unicode file name from /UF, when present.

`public string? Description { get; }` [#](#property-description)

[PdfExtractedAttachment.cs:49](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfExtractedAttachment.cs#L49)

Human-readable file description from /Desc, when present.

`public string? MimeType { get; }` [#](#property-mimetype)

[PdfExtractedAttachment.cs:52](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfExtractedAttachment.cs#L52)

MIME type decoded from the embedded file stream /Subtype name, when present.

`public PdfAssociatedFileRelationship Relationship { get; }` [#](#property-relationship)

[PdfExtractedAttachment.cs:55](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfExtractedAttachment.cs#L55)

Associated-file relationship from /AFRelationship, or Unspecified when absent.

`public string Filter { get; }` [#](#property-filter)

[PdfExtractedAttachment.cs:58](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfExtractedAttachment.cs#L58)

PDF stream filter name or comma-separated filter names when present.

`public int FileSpecObjectNumber { get; }` [#](#property-filespecobjectnumber)

[PdfExtractedAttachment.cs:61](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfExtractedAttachment.cs#L61)

Object number of the file specification dictionary, or 0 for a direct dictionary.

`public int EmbeddedFileObjectNumber { get; }` [#](#property-embeddedfileobjectnumber)

[PdfExtractedAttachment.cs:64](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfExtractedAttachment.cs#L64)

Object number of the embedded file stream, or 0 for a direct stream.

`public string Source { get; }` [#](#property-source)

[PdfExtractedAttachment.cs:67](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfExtractedAttachment.cs#L67)

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

`public DateTimeOffset? CreationDate { get; }` [#](#property-creationdate)

[PdfExtractedAttachment.cs:69](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfExtractedAttachment.cs#L69)

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

`public DateTimeOffset? ModificationDate { get; }` [#](#property-modificationdate)

[PdfExtractedAttachment.cs:71](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfExtractedAttachment.cs#L71)

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

`public byte[] Bytes { get; }` [#](#property-bytes)

[PdfExtractedAttachment.cs:74](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Reading/Model/PdfExtractedAttachment.cs#L74)

Decoded embedded file bytes. The returned array is a defensive copy.

<!-- PowerForge markdown artifact sha256:DCA75BFAF2BFDB8F8BC3E23DD7D9B9FA77535CB1E9875B00347A3E34D2DABEAD -->
