Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfPanelBorderFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

The fluent methods of PdfPanelBorder, 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
  • PdfPanelBorderFluent

Methods

public static PdfPanelBorder Color(PdfPanelBorder pdfPanelBorder, OfficeColor? value) #

Sets PdfPanelBorder.Color: Border color. Set to null for no border on this side.

Parameters

pdfPanelBorder OfficeIMO.Pdf.PdfPanelBorder required
The instance.
value OfficeIMO.OfficeColor? required
The value.

Returns

PdfPanelBorder The same instance.

Examples

// C# initializer or property                                  // C# fluent
new global::OfficeIMO.Pdf.PdfPanelBorder { Color = value };    pdfPanelBorder.Color(value);
public static PdfPanelBorder Offset(PdfPanelBorder pdfPanelBorder, OfficeLength value) #

Sets PdfPanelBorder.Offset: Distance in points from the panel boundary to this border's stroke center. Positive values move the stroke outward; negative values move it inward. This affects painting without changing the panel's content width or padding.

Parameters

pdfPanelBorder OfficeIMO.Pdf.PdfPanelBorder required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PdfPanelBorder The same instance.

Examples

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

Sets PdfPanelBorder.Width: Border stroke width in points.

Parameters

pdfPanelBorder OfficeIMO.Pdf.PdfPanelBorder required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PdfPanelBorder The same instance.

Examples

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