RtfPageBordersFluent
OfficeIMO.Rtf
The fluent methods of RtfPageBorders, 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
- RtfPageBordersFluent
Methods
public static RtfPageBorders Bottom(RtfPageBorders rtfPageBorders, Action<RtfPageBorder> configure) #Configures RtfPageBorders.Bottom in place: Bottom page border.
Parameters
- rtfPageBorders OfficeIMO.Rtf.RtfPageBorders
- The instance.
- configure System.Action<OfficeIMO.Rtf.RtfPageBorder>
- Configures the value.
public static RtfPageBorders DisplayBehindText(RtfPageBorders rtfPageBorders, bool? value = true) #Sets RtfPageBorders.DisplayBehindText: Whether the page border is displayed behind document contents.
Parameters
- rtfPageBorders OfficeIMO.Rtf.RtfPageBorders
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageBorders { DisplayBehindText = value }; rtfPageBorders.DisplayBehindText(value);public static RtfPageBorders DisplayOptions(RtfPageBorders rtfPageBorders, RtfPageBorderScope? scope = null, bool? displayBehindText = null, RtfPageBorderOffset? offsetFrom = null) #Sets page-border display options encoded by RTF \pgbrdropt.
Parameters
- rtfPageBorders OfficeIMO.Rtf.RtfPageBorders
- The instance.
- scope OfficeIMO.Rtf.RtfPageBorderScope? = null
- The value.
- displayBehindText bool? = null
- The value.
- offsetFrom OfficeIMO.Rtf.RtfPageBorderOffset? = null
- The value.
public static RtfPageBorders IncludeHeader(RtfPageBorders rtfPageBorders, bool value = true) #Sets RtfPageBorders.IncludeHeader: Whether the page border surrounds the header area.
Parameters
- rtfPageBorders OfficeIMO.Rtf.RtfPageBorders
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageBorders { IncludeHeader = value }; rtfPageBorders.IncludeHeader(value);public static RtfPageBorders Left(RtfPageBorders rtfPageBorders, Action<RtfPageBorder> configure) #Configures RtfPageBorders.Left in place: Left page border.
Parameters
- rtfPageBorders OfficeIMO.Rtf.RtfPageBorders
- The instance.
- configure System.Action<OfficeIMO.Rtf.RtfPageBorder>
- Configures the value.
public static RtfPageBorders OffsetFrom(RtfPageBorders rtfPageBorders, RtfPageBorderOffset? value) #Sets RtfPageBorders.OffsetFrom: Source edge used for border spacing.
Parameters
- rtfPageBorders OfficeIMO.Rtf.RtfPageBorders
- The instance.
- value OfficeIMO.Rtf.RtfPageBorderOffset?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageBorders { OffsetFrom = value }; rtfPageBorders.OffsetFrom(value);public static RtfPageBorders Right(RtfPageBorders rtfPageBorders, Action<RtfPageBorder> configure) #Configures RtfPageBorders.Right in place: Right page border.
Parameters
- rtfPageBorders OfficeIMO.Rtf.RtfPageBorders
- The instance.
- configure System.Action<OfficeIMO.Rtf.RtfPageBorder>
- Configures the value.
public static RtfPageBorders Scope(RtfPageBorders rtfPageBorders, RtfPageBorderScope? value) #Sets RtfPageBorders.Scope: Page range to which the border applies.
Parameters
- rtfPageBorders OfficeIMO.Rtf.RtfPageBorders
- The instance.
- value OfficeIMO.Rtf.RtfPageBorderScope?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageBorders { Scope = value }; rtfPageBorders.Scope(value);public static RtfPageBorders SnapToPageBorder(RtfPageBorders rtfPageBorders, bool value = true) #Sets RtfPageBorders.SnapToPageBorder: Whether page border edges should snap to page-border alignment.
Parameters
- rtfPageBorders OfficeIMO.Rtf.RtfPageBorders
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageBorders { SnapToPageBorder = value }; rtfPageBorders.SnapToPageBorder(value);public static RtfPageBorders Top(RtfPageBorders rtfPageBorders, Action<RtfPageBorder> configure) #Configures RtfPageBorders.Top in place: Top page border.
Parameters
- rtfPageBorders OfficeIMO.Rtf.RtfPageBorders
- The instance.
- configure System.Action<OfficeIMO.Rtf.RtfPageBorder>
- Configures the value.