# PdfDocumentResources

Bounded inspection of low-level resources owned by an existing PDF.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`12511d2fa560` with working tree changes

**Source**

[PdfDocumentResources.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Core/PdfDocumentResources.cs#L13)

**Modifiers**

sealed

Bounded inspection of low-level resources owned by an existing PDF.

## Inheritance

- object
- PdfDocumentResources

## Usage

Explore 1 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 1

- Property [PdfDocument.Resources](/api/pdf/officeimo-pdf-pdfdocument/#property-resources)

Filter members 

Show inherited

## Methods

Fonts 4 overloads

`public PdfFontInventory Fonts(PdfFontInspectionOptions? inspectionOptions = null, PdfLoadOptions? loadOptions = null)` [#](#method-fonts-officeimo-pdf-pdffontinspectionoptions-officeimo-pdf-pdfloadoptions)

[PdfDocumentResources.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Core/PdfDocumentResources.cs#L13)

Inspects unique fonts declared by all pages and nested Form XObjects.

Parameters

**inspectionOptions OfficeIMO.Pdf.PdfFontInspectionOptions? = null optional**

**loadOptions OfficeIMO.Pdf.PdfLoadOptions? = null optional**

Returns

`PdfFontInventory`

`public PdfFontInventory Fonts(PdfPageSelection selection, PdfFontInspectionOptions? inspectionOptions = null, PdfLoadOptions? loadOptions = null)` [#](#method-fonts-officeimo-pdf-pdfpageselection-officeimo-pdf-pdffontinspectionoptions-officeimo-pdf-pdfloadoptions)

[PdfDocumentResources.cs:20](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Core/PdfDocumentResources.cs#L20)

Inspects unique fonts declared by selected pages and nested Form XObjects.

Parameters

**selection OfficeIMO.Pdf.PdfPageSelection required**

**inspectionOptions OfficeIMO.Pdf.PdfFontInspectionOptions? = null optional**

**loadOptions OfficeIMO.Pdf.PdfLoadOptions? = null optional**

Returns

`PdfFontInventory`

`public PdfFontInventory Fonts(string pageRanges, PdfFontInspectionOptions? inspectionOptions = null, PdfLoadOptions? loadOptions = null)` [#](#method-fonts-string-officeimo-pdf-pdffontinspectionoptions-officeimo-pdf-pdfloadoptions)

[PdfDocumentResources.cs:32](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Core/PdfDocumentResources.cs#L32)

Inspects unique fonts declared by pages described by one-based page ranges.

Parameters

**pageRanges string required**

**inspectionOptions OfficeIMO.Pdf.PdfFontInspectionOptions? = null optional**

**loadOptions OfficeIMO.Pdf.PdfLoadOptions? = null optional**

Returns

`PdfFontInventory`

`public PdfFontInventory Fonts(OfficePageSelector selector, PdfFontInspectionOptions? inspectionOptions = null, PdfLoadOptions? loadOptions = null)` [#](#method-fonts-officeimo-officepageselector-officeimo-pdf-pdffontinspectionoptions-officeimo-pdf-pdfloadoptions)

[PdfDocumentResources.cs:39](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Core/PdfDocumentResources.cs#L39)

Inspects unique fonts declared by pages resolved by a document-relative selector.

Parameters

**selector OfficeIMO.OfficePageSelector required**

**inspectionOptions OfficeIMO.Pdf.PdfFontInspectionOptions? = null optional**

**loadOptions OfficeIMO.Pdf.PdfLoadOptions? = null optional**

Returns

`PdfFontInventory`

`public PdfRawDocumentView RawStructure(PdfRawStructureOptions? structureOptions = null, PdfLoadOptions? loadOptions = null)` [#](#method-rawstructure-officeimo-pdf-pdfrawstructureoptions-officeimo-pdf-pdfloadoptions)

[PdfDocumentResources.cs:59](https://github.com/EvotecIT/OfficeIMO/blob/12511d2fa560784a40564a2dc62102d2005ed547/OfficeIMO.Pdf/Core/PdfDocumentResources.cs#L59)

Builds a safe, immutable, bounded projection of the active PDF object graph.

Parameters

**structureOptions OfficeIMO.Pdf.PdfRawStructureOptions? = null optional**

**loadOptions OfficeIMO.Pdf.PdfLoadOptions? = null optional**

Returns

`PdfRawDocumentView`

## 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?`

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