Class
PdfPageBorderFluent
OfficeIMO.Pdf
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
- The instance.
- value OfficeIMO.OfficeColor
- The value.
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
- The instance.
- value OfficeIMO.Drawing.OfficeStrokeDashStyle
- The value.
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
- The instance.
- value OfficeIMO.OfficeLength
- The value.
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
- The instance.
- value double
- The value.
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
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfPageBorder { Width = value }; pdfPageBorder.Width(value);