Class
PdfPanelBorderFluent
OfficeIMO.Pdf
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
- The instance.
- value OfficeIMO.OfficeColor?
- The value.
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
- The instance.
- value OfficeIMO.OfficeLength
- The value.
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
- The instance.
- value OfficeIMO.OfficeLength
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Pdf.PdfPanelBorder { Width = value }; pdfPanelBorder.Width(value);