PdfPageBackgroundShapeFluent
OfficeIMO.Pdf
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
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
pdfPageBackgroundShape.FirstPageOnly = value; pdfPageBackgroundShape.FirstPageOnly(value);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
- The instance.
- value OfficeIMO.Drawing.OfficeShape
- The value.
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
- The instance.
- configure System.Action<OfficeIMO.Drawing.OfficeShape>
- Configures the value.
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
- The instance.
- value OfficeIMO.OfficeLength
- The value.
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
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Examples
// C# initializer or property // C# fluent
pdfPageBackgroundShape.Y = value; pdfPageBackgroundShape.Y(value);