RtfPageSetupFluent
OfficeIMO.Rtf
The fluent methods of RtfPageSetup, 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
- RtfPageSetupFluent
Methods
public static RtfPageSetup DirectLandscape(RtfPageSetup rtfPageSetup, bool? value = true) #Sets RtfPageSetup.DirectLandscape: Authored orientation. Null inherits the document's orientation; false explicitly selects portrait.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageSetup { DirectLandscape = value }; rtfPageSetup.DirectLandscape(value);public static RtfPageSetup DirectRtlGutter(RtfPageSetup rtfPageSetup, bool? value = true) #Sets RtfPageSetup.DirectRtlGutter: Authored gutter direction. Null inherits the document setting.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageSetup { DirectRtlGutter = value }; rtfPageSetup.DirectRtlGutter(value);public static RtfPageSetup FirstPagePaperSource(RtfPageSetup rtfPageSetup, int? value) #Sets RtfPageSetup.FirstPagePaperSource: Printer bin source for the first page represented by \binfsxn.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageSetup { FirstPagePaperSource = value }; rtfPageSetup.FirstPagePaperSource(value);public static RtfPageSetup Gutter(RtfPageSetup rtfPageSetup, int? gutterWidthTwips = null, bool rtlGutter = false) #Sets gutter width in twips.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- gutterWidthTwips int? = null
- The value.
- rtlGutter bool = false
- The value.
public static RtfPageSetup GutterWidthTwips(RtfPageSetup rtfPageSetup, int? value) #Sets RtfPageSetup.GutterWidthTwips: Gutter width in twips.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageSetup { GutterWidthTwips = value }; rtfPageSetup.GutterWidthTwips(value);public static RtfPageSetup HeaderDistanceTwips(RtfPageSetup rtfPageSetup, int? value) #Sets RtfPageSetup.HeaderDistanceTwips: Header distance from the top edge of the page in twips.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageSetup { HeaderDistanceTwips = value }; rtfPageSetup.HeaderDistanceTwips(value);public static RtfPageSetup Landscape(RtfPageSetup rtfPageSetup, bool landscape = true) #Sets whether landscape orientation should be emitted.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- landscape bool = true
- The value.
public static RtfPageSetup MarginBottomTwips(RtfPageSetup rtfPageSetup, int? value) #Sets RtfPageSetup.MarginBottomTwips: Bottom margin in twips.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageSetup { MarginBottomTwips = value }; rtfPageSetup.MarginBottomTwips(value);public static RtfPageSetup MarginLeftTwips(RtfPageSetup rtfPageSetup, int? value) #Sets RtfPageSetup.MarginLeftTwips: Left margin in twips.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageSetup { MarginLeftTwips = value }; rtfPageSetup.MarginLeftTwips(value);public static RtfPageSetup MarginRightTwips(RtfPageSetup rtfPageSetup, int? value) #Sets RtfPageSetup.MarginRightTwips: Right margin in twips.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageSetup { MarginRightTwips = value }; rtfPageSetup.MarginRightTwips(value);public static RtfPageSetup Margins(RtfPageSetup rtfPageSetup, int? leftTwips = null, int? rightTwips = null, int? topTwips = null, int? bottomTwips = null) #Sets document margins in twips.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- leftTwips int? = null
- The value.
- rightTwips int? = null
- The value.
- topTwips int? = null
- The value.
- bottomTwips int? = null
- The value.
public static RtfPageSetup MarginTopTwips(RtfPageSetup rtfPageSetup, int? value) #Sets RtfPageSetup.MarginTopTwips: Top margin in twips.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageSetup { MarginTopTwips = value }; rtfPageSetup.MarginTopTwips(value);public static RtfPageSetup OtherPagesPaperSource(RtfPageSetup rtfPageSetup, int? value) #Sets RtfPageSetup.OtherPagesPaperSource: Printer bin source for subsequent pages represented by \binsxn.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageSetup { OtherPagesPaperSource = value }; rtfPageSetup.OtherPagesPaperSource(value);public static RtfPageSetup PageBorders(RtfPageSetup rtfPageSetup, Action<RtfPageBorders> configure) #Configures RtfPageSetup.PageBorders in place: Page border settings.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- configure System.Action<OfficeIMO.Rtf.RtfPageBorders>
- Configures the value.
public static RtfPageSetup PageNumberFormat(RtfPageSetup rtfPageSetup, RtfPageNumberFormat? value) #Sets RtfPageSetup.PageNumberFormat: Page-number display format.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- value OfficeIMO.Rtf.RtfPageNumberFormat?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageSetup { PageNumberFormat = value }; rtfPageSetup.PageNumberFormat(value);public static RtfPageSetup PageNumbering(RtfPageSetup rtfPageSetup, int? start = null, bool? restart = null, RtfPageNumberFormat? format = null, int? positionXTwips = null, int? positionYTwips = null) #Sets page numbering controls.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- start int? = null
- The value.
- restart bool? = null
- The value.
- format OfficeIMO.Rtf.RtfPageNumberFormat? = null
- The value.
- positionXTwips int? = null
- The value.
- positionYTwips int? = null
- The value.
public static RtfPageSetup PageNumberPositionXTwips(RtfPageSetup rtfPageSetup, int? value) #Sets RtfPageSetup.PageNumberPositionXTwips: Horizontal page-number position in twips from the right margin.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageSetup { PageNumberPositionXTwips = value }; rtfPageSetup.PageNumberPositionXTwips(value);public static RtfPageSetup PageNumberPositionYTwips(RtfPageSetup rtfPageSetup, int? value) #Sets RtfPageSetup.PageNumberPositionYTwips: Vertical page-number position in twips from the top margin.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageSetup { PageNumberPositionYTwips = value }; rtfPageSetup.PageNumberPositionYTwips(value);public static RtfPageSetup PageNumberRestart(RtfPageSetup rtfPageSetup, bool? value = true) #Sets RtfPageSetup.PageNumberRestart: Whether page numbering restarts in this page setup. false represents continuous numbering.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageSetup { PageNumberRestart = value }; rtfPageSetup.PageNumberRestart(value);public static RtfPageSetup PageNumberStart(RtfPageSetup rtfPageSetup, int? value) #Sets RtfPageSetup.PageNumberStart: Beginning page number.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageSetup { PageNumberStart = value }; rtfPageSetup.PageNumberStart(value);public static RtfPageSetup PaperHeightTwips(RtfPageSetup rtfPageSetup, int? value) #Sets RtfPageSetup.PaperHeightTwips: Paper height in twips.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageSetup { PaperHeightTwips = value }; rtfPageSetup.PaperHeightTwips(value);public static RtfPageSetup PaperSize(RtfPageSetup rtfPageSetup, int widthTwips, int heightTwips) #Sets paper size in twips.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- widthTwips int
- The value.
- heightTwips int
- The value.
public static RtfPageSetup PaperWidthTwips(RtfPageSetup rtfPageSetup, int? value) #Sets RtfPageSetup.PaperWidthTwips: Paper width in twips.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageSetup { PaperWidthTwips = value }; rtfPageSetup.PaperWidthTwips(value);public static RtfPageSetup PrinterPaper(RtfPageSetup rtfPageSetup, int? paperSize = null, int? firstPageSource = null, int? otherPagesSource = null) #Sets printer-specific paper metadata.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- paperSize int? = null
- The value.
- firstPageSource int? = null
- The value.
- otherPagesSource int? = null
- The value.
public static RtfPageSetup PrinterPaperSize(RtfPageSetup rtfPageSetup, int? value) #Sets RtfPageSetup.PrinterPaperSize: Printer paper size code represented by \psz.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageSetup { PrinterPaperSize = value }; rtfPageSetup.PrinterPaperSize(value);public static RtfPageSetup RtlGutter(RtfPageSetup rtfPageSetup, bool value = true) #Sets RtfPageSetup.RtlGutter: Whether the gutter should be positioned on the right side.
Parameters
- rtfPageSetup OfficeIMO.Rtf.RtfPageSetup
- The instance.
- value bool = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfPageSetup { RtlGutter = value }; rtfPageSetup.RtlGutter(value);