Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfPageBorderFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

The fluent methods of PdfPageBorder, 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
  • PdfPageBorderFluent

Methods

public static PdfPageBorder Color(PdfPageBorder pdfPageBorder, OfficeColor value) #

Sets PdfPageBorder.Color: Border stroke color.

Parameters

pdfPageBorder OfficeIMO.Pdf.PdfPageBorder required
The instance.
value OfficeIMO.OfficeColor required
The value.

Returns

PdfPageBorder The same instance.

Examples

// C# initializer or property                                 // C# fluent
new global::OfficeIMO.Pdf.PdfPageBorder { Color = value };    pdfPageBorder.Color(value);
public static PdfPageBorder DashStyle(PdfPageBorder pdfPageBorder, OfficeStrokeDashStyle value) #

Sets PdfPageBorder.DashStyle: Border dash style.

Parameters

pdfPageBorder OfficeIMO.Pdf.PdfPageBorder required
The instance.
value OfficeIMO.Drawing.OfficeStrokeDashStyle required
The value.

Returns

PdfPageBorder The same instance.

Examples

// C# initializer or property                                     // C# fluent
new global::OfficeIMO.Pdf.PdfPageBorder { DashStyle = value };    pdfPageBorder.DashStyle(value);
public static PdfPageBorder Inset(PdfPageBorder pdfPageBorder, OfficeLength value) #

Sets PdfPageBorder.Inset: Distance from the page edge to the border path, in points.

Parameters

pdfPageBorder OfficeIMO.Pdf.PdfPageBorder required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PdfPageBorder The same instance.

Examples

// C# initializer or property                                 // C# fluent
new global::OfficeIMO.Pdf.PdfPageBorder { Inset = value };    pdfPageBorder.Inset(value);
public static PdfPageBorder Opacity(PdfPageBorder pdfPageBorder, double value) #

Sets PdfPageBorder.Opacity: Stroke opacity from 0 to 1. Defaults to 1.

Parameters

pdfPageBorder OfficeIMO.Pdf.PdfPageBorder required
The instance.
value double required
The value.

Returns

PdfPageBorder The same instance.

Examples

// C# initializer or property                                   // C# fluent
new global::OfficeIMO.Pdf.PdfPageBorder { Opacity = value };    pdfPageBorder.Opacity(value);
public static PdfPageBorder Width(PdfPageBorder pdfPageBorder, OfficeLength value) #

Sets PdfPageBorder.Width: Border stroke width in points.

Parameters

pdfPageBorder OfficeIMO.Pdf.PdfPageBorder required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PdfPageBorder The same instance.

Examples

// C# initializer or property                                 // C# fluent
new global::OfficeIMO.Pdf.PdfPageBorder { Width = value };    pdfPageBorder.Width(value);