Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PdfPageBackgroundShapeFluent

OfficeIMO.Pdf

Namespace
OfficeIMO.Pdf
Assembly
OfficeIMO.Pdf
Modifiers
static

The fluent methods of PdfPageBackgroundShape, 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
  • PdfPageBackgroundShapeFluent

Methods

public static PdfPageBackgroundShape FirstPageOnly(PdfPageBackgroundShape pdfPageBackgroundShape, bool value = true) #

Sets PdfPageBackgroundShape.FirstPageOnly: When true, the shape is drawn on the first page only, such as a title band that would otherwise sit behind body text on continuation pages.

Parameters

pdfPageBackgroundShape OfficeIMO.Pdf.PdfPageBackgroundShape required
The instance.
value bool = true optional
The value; true when omitted.

Returns

PdfPageBackgroundShape The same instance.

Examples

// C# initializer or property                    // C# fluent
pdfPageBackgroundShape.FirstPageOnly = value;    pdfPageBackgroundShape.FirstPageOnly(value);
Shape 2 overloads
public static PdfPageBackgroundShape Shape(PdfPageBackgroundShape pdfPageBackgroundShape, OfficeShape value) #

Sets PdfPageBackgroundShape.Shape: Shape geometry and styling. Coordinates use the page bottom-left origin.

Parameters

pdfPageBackgroundShape OfficeIMO.Pdf.PdfPageBackgroundShape required
The instance.
value OfficeIMO.Drawing.OfficeShape required
The value.

Returns

PdfPageBackgroundShape The same instance.

Examples

// C# initializer or property            // C# fluent
pdfPageBackgroundShape.Shape = value;    pdfPageBackgroundShape.Shape(value);
public static PdfPageBackgroundShape Shape(PdfPageBackgroundShape pdfPageBackgroundShape, Action<OfficeShape> configure) #

Configures PdfPageBackgroundShape.Shape in place (creating it when not set): Shape geometry and styling. Coordinates use the page bottom-left origin.

Parameters

pdfPageBackgroundShape OfficeIMO.Pdf.PdfPageBackgroundShape required
The instance.
configure System.Action<OfficeIMO.Drawing.OfficeShape> required
Configures the value.

Returns

PdfPageBackgroundShape The same instance.
public static PdfPageBackgroundShape X(PdfPageBackgroundShape pdfPageBackgroundShape, OfficeLength value) #

Sets PdfPageBackgroundShape.X: Left position in points from the page left edge. Negative values are allowed for bleed-style decoration.

Parameters

pdfPageBackgroundShape OfficeIMO.Pdf.PdfPageBackgroundShape required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PdfPageBackgroundShape The same instance.

Examples

// C# initializer or property        // C# fluent
pdfPageBackgroundShape.X = value;    pdfPageBackgroundShape.X(value);
public static PdfPageBackgroundShape Y(PdfPageBackgroundShape pdfPageBackgroundShape, OfficeLength value) #

Sets PdfPageBackgroundShape.Y: Bottom position in points from the page bottom edge. Negative values are allowed for bleed-style decoration.

Parameters

pdfPageBackgroundShape OfficeIMO.Pdf.PdfPageBackgroundShape required
The instance.
value OfficeIMO.OfficeLength required
The value.

Returns

PdfPageBackgroundShape The same instance.

Examples

// C# initializer or property        // C# fluent
pdfPageBackgroundShape.Y = value;    pdfPageBackgroundShape.Y(value);