# PdfAssetExtractionOptions

Controls the files and resource limits of a PDF asset extraction.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`3e8c3385ff88` with working tree changes

**Source**

[PdfAssetExtractionOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/3e8c3385ff8885054f68f604e74abadf8ececc1b/OfficeIMO.Pdf/Reading/Assets/PdfAssetExtractionOptions.cs#L6)

**Modifiers**

sealed

Controls the files and resource limits of a PDF asset extraction.

## Inheritance

- object
- PdfAssetExtractionOptions

## 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.

### Accepted by parameters 2

- Method [PdfDocument.ExtractAssets](/api/pdf/officeimo-pdf-pdfdocument/#method-extractassets-string-officeimo-pdf-pdfassetextractionoptions-threading-cancellationtoken) parameter `options`
- Method [PdfDocument.ExtractAssetsTo](/api/pdf/officeimo-pdf-pdfdocument/#method-extractassetsto-func-system-string-system-io-stream-officeimo-pdf-pdfassetextractionoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

`public PdfAssetExtractionOptions()` [#](#constructor-ctor)

[PdfAssetExtractionOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/3e8c3385ff8885054f68f604e74abadf8ececc1b/OfficeIMO.Pdf/Reading/Assets/PdfAssetExtractionOptions.cs#L6)

## 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 bool CompositeSoftMasks { get; init; }` [#](#property-compositesoftmasks)

[PdfAssetExtractionOptions.cs:6](https://github.com/EvotecIT/OfficeIMO/blob/3e8c3385ff8885054f68f604e74abadf8ececc1b/OfficeIMO.Pdf/Reading/Assets/PdfAssetExtractionOptions.cs#L6)

Exports supported image soft masks as straight-alpha, 32-bit RGBA PNGs. When false, uses ordinary image extraction. Default: true.

`public int MaximumPages { get; init; }` [#](#property-maximumpages)

[PdfAssetExtractionOptions.cs:9](https://github.com/EvotecIT/OfficeIMO/blob/3e8c3385ff8885054f68f604e74abadf8ececc1b/OfficeIMO.Pdf/Reading/Assets/PdfAssetExtractionOptions.cs#L9)

Maximum number of source pages. Default: 500.

`public long MaximumOutputBytes { get; init; }` [#](#property-maximumoutputbytes)

[PdfAssetExtractionOptions.cs:12](https://github.com/EvotecIT/OfficeIMO/blob/3e8c3385ff8885054f68f604e74abadf8ececc1b/OfficeIMO.Pdf/Reading/Assets/PdfAssetExtractionOptions.cs#L12)

Maximum aggregate uncompressed output file bytes, including reports. Default: 512 MiB.

`public int MaximumInspectionWork { get; init; }` [#](#property-maximuminspectionwork)

[PdfAssetExtractionOptions.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/3e8c3385ff8885054f68f604e74abadf8ececc1b/OfficeIMO.Pdf/Reading/Assets/PdfAssetExtractionOptions.cs#L15)

Maximum aggregate work units for walking resource graphs and collecting image placements. Default: 16,000,000.

<!-- PowerForge markdown artifact sha256:4557353BA4EAB0D23888DE27C2E2B37B1BB1DDD8A9C490A5466A807727F3ED1B -->
