# PdfAnnotationFlattenOptions

Selects visual annotations to paint into page content and remove as live annotations.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfAnnotationFlattenOptions.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationFlattenOptions.cs#L13)

**Implements**

`IPdfOperationCancellation`

**Modifiers**

sealed

Selects visual annotations to paint into page content and remove as live annotations.

## Inheritance

- object
- PdfAnnotationFlattenOptions

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

- Property [PdfInteractiveContentFlattenOptions.AnnotationOptions](/api/pdf/officeimo-pdf-pdfinteractivecontentflattenoptions/#property-annotationoptions)

### Accepted by parameters 1

- Method [PdfDocumentAnnotations.Flatten](/api/pdf/officeimo-pdf-pdfdocumentannotations/#method-flatten-officeimo-pdf-pdfannotationflattenoptions-threading-cancellationtoken) parameter `options`

Filter members 

Show inherited

## Constructors

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

## 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 int? ObjectNumber { get; set; }` [#](#property-objectnumber)

[PdfAnnotationFlattenOptions.cs:13](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationFlattenOptions.cs#L13)

Optional exact indirect annotation object number.

`public int? PageNumber { get; set; }` [#](#property-pagenumber)

[PdfAnnotationFlattenOptions.cs:15](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationFlattenOptions.cs#L15)

Optional one-based page number.

`public string? Subtype { get; set; }` [#](#property-subtype)

[PdfAnnotationFlattenOptions.cs:17](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfAnnotationFlattenOptions.cs#L17)

Optional annotation subtype.

<!-- PowerForge markdown artifact sha256:6B7B4AE8FCBFBE919A63DB183CFEFC7B035B635948F83548DDB2A8B33621E76D -->
