# PdfInteractiveContentFlattenResult

Result of flattening form fields and supported visual annotations.

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Source revision**

`be6c300e4ab1` with working tree changes

**Source**

[PdfInteractiveContentFlattener.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfInteractiveContentFlattener.cs#L30)

**Modifiers**

sealed

Result of flattening form fields and supported visual annotations.

## Inheritance

- object
- PdfInteractiveContentFlattenResult

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

- Method [PdfDocument.FlattenInteractiveContent](/api/pdf/officeimo-pdf-pdfdocument/#method-flatteninteractivecontent-officeimo-pdf-pdfinteractivecontentflattenoptions)

Filter members 

Show inherited

## Methods

`public PdfDocument ToDocument()` [#](#method-todocument)

[PdfInteractiveContentFlattener.cs:30](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfInteractiveContentFlattener.cs#L30)

Opens the flattened artifact.

Returns

`PdfDocument`

## 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 byte[] Bytes { get; }` [#](#property-bytes)

[PdfInteractiveContentFlattener.cs:22](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfInteractiveContentFlattener.cs#L22)

Rewritten PDF bytes.

`public int FlattenedFormFieldCount { get; }` [#](#property-flattenedformfieldcount)

[PdfInteractiveContentFlattener.cs:24](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfInteractiveContentFlattener.cs#L24)

Number of readable form fields removed by flattening.

`public int FlattenedAnnotationCount { get; }` [#](#property-flattenedannotationcount)

[PdfInteractiveContentFlattener.cs:26](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfInteractiveContentFlattener.cs#L26)

Number of supported visual annotations removed by flattening.

`public bool Applied { get; }` [#](#property-applied)

[PdfInteractiveContentFlattener.cs:28](https://github.com/EvotecIT/OfficeIMO/blob/be6c300e4ab1859837b961c64fbfb2b2a1886cd0/Sources/OfficeIMO.Pdf/Manipulation/PdfInteractiveContentFlattener.cs#L28)

Whether any interactive object was flattened.

<!-- PowerForge markdown artifact sha256:17802BCDD65B00A02F077CB367CB37399AC7945CFD14B0AB76ACD904897AE6D1 -->
