# PdfAnnotationFlattenOptionsFluent

The fluent methods of PdfAnnotationFlattenOptions, generated from its public properties: A property-named method sets a property and a singular-named method…

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Modifiers**

static

The fluent methods of [PdfAnnotationFlattenOptions](/api/pdf/officeimo-pdf-pdfannotationflattenoptions/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- PdfAnnotationFlattenOptionsFluent

Filter members 

Show inherited

## Methods

`public static PdfAnnotationFlattenOptions ObjectNumber(PdfAnnotationFlattenOptions pdfAnnotationFlattenOptions, int? value)` [#](#method-objectnumber-officeimo-pdf-pdfannotationflattenoptions-nullable-system-int32)

Sets [PdfAnnotationFlattenOptions.ObjectNumber](/api/pdf/officeimo-pdf-pdfannotationflattenoptions/): Optional exact indirect annotation object number.

Parameters

**pdfAnnotationFlattenOptions OfficeIMO.Pdf.PdfAnnotationFlattenOptions required**

The instance.

**value int? required**

The value.

Returns

`PdfAnnotationFlattenOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Pdf.PdfAnnotationFlattenOptions { ObjectNumber = value };    pdfAnnotationFlattenOptions.ObjectNumber(value);
```

`public static PdfAnnotationFlattenOptions PageNumber(PdfAnnotationFlattenOptions pdfAnnotationFlattenOptions, int? value)` [#](#method-pagenumber-officeimo-pdf-pdfannotationflattenoptions-nullable-system-int32)

Sets [PdfAnnotationFlattenOptions.PageNumber](/api/pdf/officeimo-pdf-pdfannotationflattenoptions/): Optional one-based page number.

Parameters

**pdfAnnotationFlattenOptions OfficeIMO.Pdf.PdfAnnotationFlattenOptions required**

The instance.

**value int? required**

The value.

Returns

`PdfAnnotationFlattenOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Pdf.PdfAnnotationFlattenOptions { PageNumber = value };    pdfAnnotationFlattenOptions.PageNumber(value);
```

`public static PdfAnnotationFlattenOptions Subtype(PdfAnnotationFlattenOptions pdfAnnotationFlattenOptions, string? value)` [#](#method-subtype-officeimo-pdf-pdfannotationflattenoptions-string)

Sets [PdfAnnotationFlattenOptions.Subtype](/api/pdf/officeimo-pdf-pdfannotationflattenoptions/): Optional annotation subtype.

Parameters

**pdfAnnotationFlattenOptions OfficeIMO.Pdf.PdfAnnotationFlattenOptions required**

The instance.

**value string? required**

The value.

Returns

`PdfAnnotationFlattenOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Pdf.PdfAnnotationFlattenOptions { Subtype = value };    pdfAnnotationFlattenOptions.Subtype(value);
```

## 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:16C1508DE50B8C338413B465AE4A468DFE277448D0265D239D405BED2E2534CA -->
