# PdfPageImportOptionsFluent

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

Class 

`OfficeIMO.Pdf`

**Namespace**

`OfficeIMO.Pdf`

**Assembly**

`OfficeIMO.Pdf`

**Modifiers**

static

The fluent methods of [PdfPageImportOptions](/api/pdf/officeimo-pdf-pdfpageimportoptions/), 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
- PdfPageImportOptionsFluent

Filter members 

Show inherited

## Methods

`public static PdfPageImportOptions FlattenVisualAnnotations(PdfPageImportOptions pdfPageImportOptions, bool value = true)` [#](#method-flattenvisualannotations-officeimo-pdf-pdfpageimportoptions-boolean)

Sets [PdfPageImportOptions.FlattenVisualAnnotations](/api/pdf/officeimo-pdf-pdfpageimportoptions/): Gets or sets whether supported visual annotations from imported source pages should be painted into page content. Existing target-document annotations are not flattened by this option.

Parameters

**pdfPageImportOptions OfficeIMO.Pdf.PdfPageImportOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

`PdfPageImportOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                           // C# fluent
new global::OfficeIMO.Pdf.PdfPageImportOptions { FlattenVisualAnnotations = value };    pdfPageImportOptions.FlattenVisualAnnotations(value);
```

SourceReadOptions 2 overloads

`public static PdfPageImportOptions SourceReadOptions(PdfPageImportOptions pdfPageImportOptions, PdfLoadOptions? value)` [#](#method-sourcereadoptions-officeimo-pdf-pdfpageimportoptions-officeimo-pdf-pdfloadoptions)

Sets [PdfPageImportOptions.SourceReadOptions](/api/pdf/officeimo-pdf-pdfpageimportoptions/): Gets or sets read options used for the imported source PDF, including its password and permission policy. Target-document credentials remain controlled by the document or the corresponding Try* operation.

Parameters

**pdfPageImportOptions OfficeIMO.Pdf.PdfPageImportOptions required**

The instance.

**value OfficeIMO.Pdf.PdfLoadOptions? required**

The value.

Returns

`PdfPageImportOptions` The same instance.

Examples

```csharp
// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Pdf.PdfPageImportOptions { SourceReadOptions = value };    pdfPageImportOptions.SourceReadOptions(value);
```

`public static PdfPageImportOptions SourceReadOptions(PdfPageImportOptions pdfPageImportOptions, Action<PdfLoadOptions> configure)` [#](#method-sourcereadoptions-officeimo-pdf-pdfpageimportoptions-action-officeimo-pdf-pdfloadoptions)

Configures [PdfPageImportOptions.SourceReadOptions](/api/pdf/officeimo-pdf-pdfpageimportoptions/) in place (creating it when not set): Gets or sets read options used for the imported source PDF, including its password and permission policy. Target-document credentials remain controlled by the document or the corresponding Try* operation.

Parameters

**pdfPageImportOptions OfficeIMO.Pdf.PdfPageImportOptions required**

The instance.

**configure System.Action<OfficeIMO.Pdf.PdfLoadOptions> required**

Configures the value.

Returns

`PdfPageImportOptions` The same instance.

## 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:016CE042DC9A75E87425D657C9DA07B34FB7E6D426E1C6A3AE2632BC02A1BEFD -->
