Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfLayerOptionsFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

The fluent methods of PdfLayerOptions, 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
  • PdfLayerOptionsFluent

Methods

public static PdfLayerOptions InitiallyVisible(PdfLayerOptions pdfLayerOptions, bool value = true) #

Sets PdfLayerOptions.InitiallyVisible: Whether the layer is visible in the default configuration.

Parameters

pdfLayerOptions OfficeIMO.Pdf.PdfLayerOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfLayerOptions The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Pdf.PdfLayerOptions { InitiallyVisible = value };    pdfLayerOptions.InitiallyVisible(value);
public static PdfLayerOptions Locked(PdfLayerOptions pdfLayerOptions, bool value = true) #

Sets PdfLayerOptions.Locked: Whether compatible viewers should prevent users from toggling the layer.

Parameters

pdfLayerOptions OfficeIMO.Pdf.PdfLayerOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfLayerOptions The same instance.

Examples

// C# initializer or property                                    // C# fluent
new global::OfficeIMO.Pdf.PdfLayerOptions { Locked = value };    pdfLayerOptions.Locked(value);
public static PdfLayerOptions VisibleInViewer(PdfLayerOptions pdfLayerOptions, bool value = true) #

Sets PdfLayerOptions.VisibleInViewer: Whether the layer is intended to be visible on screen.

Parameters

pdfLayerOptions OfficeIMO.Pdf.PdfLayerOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfLayerOptions The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Pdf.PdfLayerOptions { VisibleInViewer = value };    pdfLayerOptions.VisibleInViewer(value);
public static PdfLayerOptions VisibleWhenExporting(PdfLayerOptions pdfLayerOptions, bool value = true) #

Sets PdfLayerOptions.VisibleWhenExporting: Whether the layer is intended to be visible when exported.

Parameters

pdfLayerOptions OfficeIMO.Pdf.PdfLayerOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfLayerOptions The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Pdf.PdfLayerOptions { VisibleWhenExporting = value };    pdfLayerOptions.VisibleWhenExporting(value);
public static PdfLayerOptions VisibleWhenPrinting(PdfLayerOptions pdfLayerOptions, bool value = true) #

Sets PdfLayerOptions.VisibleWhenPrinting: Whether the layer is intended to be visible when printed.

Parameters

pdfLayerOptions OfficeIMO.Pdf.PdfLayerOptions required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfLayerOptions The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Pdf.PdfLayerOptions { VisibleWhenPrinting = value };    pdfLayerOptions.VisibleWhenPrinting(value);