Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfPageImportOptionsFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

The fluent methods of 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

Methods

public static PdfPageImportOptions FlattenVisualAnnotations(PdfPageImportOptions pdfPageImportOptions, bool value = true) #

Sets PdfPageImportOptions.FlattenVisualAnnotations: 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

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

Sets PdfPageImportOptions.SourceReadOptions: 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

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

Configures PdfPageImportOptions.SourceReadOptions 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.