RtfDocumentSettingsFluent
OfficeIMO.Rtf
The fluent methods of RtfDocumentSettings, 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
- RtfDocumentSettingsFluent
Methods
public static RtfDocumentSettings AnnotationProtection(RtfDocumentSettings rtfDocumentSettings, bool? value = true) #Sets RtfDocumentSettings.AnnotationProtection: Whether annotation protection is explicitly enabled or disabled.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { AnnotationProtection = value }; rtfDocumentSettings.AnnotationProtection(value);public static RtfDocumentSettings AnsiCodePage(RtfDocumentSettings rtfDocumentSettings, int? value) #Sets RtfDocumentSettings.AnsiCodePage: ANSI code page represented by \ansicpg.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { AnsiCodePage = value }; rtfDocumentSettings.AnsiCodePage(value);public static RtfDocumentSettings AutoHyphenation(RtfDocumentSettings rtfDocumentSettings, bool? value = true) #Sets RtfDocumentSettings.AutoHyphenation: Whether automatic hyphenation is explicitly enabled or disabled.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { AutoHyphenation = value }; rtfDocumentSettings.AutoHyphenation(value);public static RtfDocumentSettings CharacterSet(RtfDocumentSettings rtfDocumentSettings, RtfDocumentCharacterSet characterSet, int? ansiCodePage = null) #Sets the document character set declaration and optional ANSI code page.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- characterSet OfficeIMO.Rtf.RtfDocumentCharacterSet
- The value.
- ansiCodePage int? = null
- The value.
public static RtfDocumentSettings CharacterSet(RtfDocumentSettings rtfDocumentSettings, RtfDocumentCharacterSet? value) #Sets RtfDocumentSettings.CharacterSet: Document character set declaration represented by \ansi, \mac, \pc, or \pca.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value OfficeIMO.Rtf.RtfDocumentCharacterSet?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { CharacterSet = value }; rtfDocumentSettings.CharacterSet(value);public static RtfDocumentSettings ConsecutiveHyphenLimit(RtfDocumentSettings rtfDocumentSettings, int? value) #Sets RtfDocumentSettings.ConsecutiveHyphenLimit: Maximum number of consecutive hyphenated lines represented by \hyphconsec.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { ConsecutiveHyphenLimit = value }; rtfDocumentSettings.ConsecutiveHyphenLimit(value);public static RtfDocumentSettings DefaultAlternateLanguage(RtfDocumentSettings rtfDocumentSettings, int languageId) #Sets the default alternate document language LCID.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- languageId int
- The value.
public static RtfDocumentSettings DefaultAlternateLanguageId(RtfDocumentSettings rtfDocumentSettings, int? value) #Sets RtfDocumentSettings.DefaultAlternateLanguageId: Default alternate language LCID represented by \adeflang.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { DefaultAlternateLanguageId = value }; rtfDocumentSettings.DefaultAlternateLanguageId(value);public static RtfDocumentSettings DefaultFarEastLanguage(RtfDocumentSettings rtfDocumentSettings, int languageId) #Sets the default Far East document language LCID.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- languageId int
- The value.
public static RtfDocumentSettings DefaultFarEastLanguageId(RtfDocumentSettings rtfDocumentSettings, int? value) #Sets RtfDocumentSettings.DefaultFarEastLanguageId: Default Far East language LCID represented by \deflangfe.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { DefaultFarEastLanguageId = value }; rtfDocumentSettings.DefaultFarEastLanguageId(value);public static RtfDocumentSettings DefaultFont(RtfDocumentSettings rtfDocumentSettings, int fontId) #Sets the default font id from the document font table.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- fontId int
- The value.
public static RtfDocumentSettings DefaultFontId(RtfDocumentSettings rtfDocumentSettings, int? value) #Sets RtfDocumentSettings.DefaultFontId: Default font id represented by \deff.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { DefaultFontId = value }; rtfDocumentSettings.DefaultFontId(value);public static RtfDocumentSettings DefaultLanguage(RtfDocumentSettings rtfDocumentSettings, int languageId) #Sets the default document language LCID.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- languageId int
- The value.
public static RtfDocumentSettings DefaultLanguageId(RtfDocumentSettings rtfDocumentSettings, int? value) #Sets RtfDocumentSettings.DefaultLanguageId: Default document language LCID represented by \deflang.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { DefaultLanguageId = value }; rtfDocumentSettings.DefaultLanguageId(value);public static RtfDocumentSettings DefaultTabWidth(RtfDocumentSettings rtfDocumentSettings, int twips) #Sets the default tab width in twips.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- twips int
- The value.
public static RtfDocumentSettings DefaultTabWidthTwips(RtfDocumentSettings rtfDocumentSettings, int? value) #Sets RtfDocumentSettings.DefaultTabWidthTwips: Default tab width in twips, represented by \deftab.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { DefaultTabWidthTwips = value }; rtfDocumentSettings.DefaultTabWidthTwips(value);public static RtfDocumentSettings Direction(RtfDocumentSettings rtfDocumentSettings, RtfTextDirection? direction) #Sets the document default text direction.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- direction OfficeIMO.Rtf.RtfTextDirection?
- The value.
public static RtfDocumentSettings DrawingGrid(RtfDocumentSettings rtfDocumentSettings, int? horizontalSpacingTwips = null, int? verticalSpacingTwips = null, int? horizontalOriginTwips = null, int? verticalOriginTwips = null, int? horizontalShow = null, int? verticalShow = null, bool? snapToGrid = null, bool? useMargins = null) #Sets document-level drawing grid controls.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- horizontalSpacingTwips int? = null
- The value.
- verticalSpacingTwips int? = null
- The value.
- horizontalOriginTwips int? = null
- The value.
- verticalOriginTwips int? = null
- The value.
- horizontalShow int? = null
- The value.
- verticalShow int? = null
- The value.
- snapToGrid bool? = null
- The value.
- useMargins bool? = null
- The value.
public static RtfDocumentSettings DrawingGridHorizontalOriginTwips(RtfDocumentSettings rtfDocumentSettings, int? value) #Sets RtfDocumentSettings.DrawingGridHorizontalOriginTwips: Drawing grid horizontal origin represented by \dghorigin.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { DrawingGridHorizontalOriginTwips = value }; rtfDocumentSettings.DrawingGridHorizontalOriginTwips(value);public static RtfDocumentSettings DrawingGridHorizontalShow(RtfDocumentSettings rtfDocumentSettings, int? value) #Sets RtfDocumentSettings.DrawingGridHorizontalShow: Drawing grid horizontal display frequency represented by \dghshow.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { DrawingGridHorizontalShow = value }; rtfDocumentSettings.DrawingGridHorizontalShow(value);public static RtfDocumentSettings DrawingGridHorizontalSpacingTwips(RtfDocumentSettings rtfDocumentSettings, int? value) #Sets RtfDocumentSettings.DrawingGridHorizontalSpacingTwips: Drawing grid horizontal spacing represented by \dghspace.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { DrawingGridHorizontalSpacingTwips = value }; rtfDocumentSettings.DrawingGridHorizontalSpacingTwips(value);public static RtfDocumentSettings DrawingGridUsesMargins(RtfDocumentSettings rtfDocumentSettings, bool? value = true) #Sets RtfDocumentSettings.DrawingGridUsesMargins: Whether drawing grid origin uses page margins, represented by \dgmargin.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { DrawingGridUsesMargins = value }; rtfDocumentSettings.DrawingGridUsesMargins(value);public static RtfDocumentSettings DrawingGridVerticalOriginTwips(RtfDocumentSettings rtfDocumentSettings, int? value) #Sets RtfDocumentSettings.DrawingGridVerticalOriginTwips: Drawing grid vertical origin represented by \dgvorigin.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { DrawingGridVerticalOriginTwips = value }; rtfDocumentSettings.DrawingGridVerticalOriginTwips(value);public static RtfDocumentSettings DrawingGridVerticalShow(RtfDocumentSettings rtfDocumentSettings, int? value) #Sets RtfDocumentSettings.DrawingGridVerticalShow: Drawing grid vertical display frequency represented by \dgvshow.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { DrawingGridVerticalShow = value }; rtfDocumentSettings.DrawingGridVerticalShow(value);public static RtfDocumentSettings DrawingGridVerticalSpacingTwips(RtfDocumentSettings rtfDocumentSettings, int? value) #Sets RtfDocumentSettings.DrawingGridVerticalSpacingTwips: Drawing grid vertical spacing represented by \dgvspace.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { DrawingGridVerticalSpacingTwips = value }; rtfDocumentSettings.DrawingGridVerticalSpacingTwips(value);public static RtfDocumentSettings FacingPages(RtfDocumentSettings rtfDocumentSettings, bool? value = true) #Sets RtfDocumentSettings.FacingPages: Whether facing pages are explicitly enabled or disabled.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { FacingPages = value }; rtfDocumentSettings.FacingPages(value);public static RtfDocumentSettings FormProtection(RtfDocumentSettings rtfDocumentSettings, bool? value = true) #Sets RtfDocumentSettings.FormProtection: Whether form protection is explicitly enabled or disabled.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { FormProtection = value }; rtfDocumentSettings.FormProtection(value);public static RtfDocumentSettings HyphenateCaps(RtfDocumentSettings rtfDocumentSettings, bool? value = true) #Sets RtfDocumentSettings.HyphenateCaps: Whether words in all caps may be hyphenated, represented by \hyphcaps.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { HyphenateCaps = value }; rtfDocumentSettings.HyphenateCaps(value);public static RtfDocumentSettings Hyphenation(RtfDocumentSettings rtfDocumentSettings, bool? automatic = null, bool? caps = null, int? consecutiveLimit = null, int? zoneTwips = null) #Sets document-level automatic hyphenation controls.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- automatic bool? = null
- The value.
- caps bool? = null
- The value.
- consecutiveLimit int? = null
- The value.
- zoneTwips int? = null
- The value.
public static RtfDocumentSettings HyphenationZoneTwips(RtfDocumentSettings rtfDocumentSettings, int? value) #Sets RtfDocumentSettings.HyphenationZoneTwips: Hyphenation hot zone in twips represented by \hyphhotz.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { HyphenationZoneTwips = value }; rtfDocumentSettings.HyphenationZoneTwips(value);public static RtfDocumentSettings MirrorMargins(RtfDocumentSettings rtfDocumentSettings, bool? value = true) #Sets RtfDocumentSettings.MirrorMargins: Whether mirrored margins are explicitly enabled or disabled.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { MirrorMargins = value }; rtfDocumentSettings.MirrorMargins(value);public static RtfDocumentSettings NoteMode(RtfDocumentSettings rtfDocumentSettings, RtfNoteMode? value) #Sets RtfDocumentSettings.NoteMode: Gets or sets the declared document note mode. Null retains the applicable parsed or authored default.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value OfficeIMO.Rtf.RtfNoteMode?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { NoteMode = value }; rtfDocumentSettings.NoteMode(value);public static RtfDocumentSettings Protection(RtfDocumentSettings rtfDocumentSettings, bool? forms = null, bool? revisions = null, bool? annotations = null, bool? readOnly = null) #Sets protection-related flags.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- forms bool? = null
- The value.
- revisions bool? = null
- The value.
- annotations bool? = null
- The value.
- readOnly bool? = null
- The value.
public static RtfDocumentSettings ReadOnlyProtection(RtfDocumentSettings rtfDocumentSettings, bool? value = true) #Sets RtfDocumentSettings.ReadOnlyProtection: Whether read-only protection is explicitly enabled or disabled.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { ReadOnlyProtection = value }; rtfDocumentSettings.ReadOnlyProtection(value);public static RtfDocumentSettings RevisionBarPlacement(RtfDocumentSettings rtfDocumentSettings, int? value) #Sets RtfDocumentSettings.RevisionBarPlacement: Revision bar placement represented by \revbar.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { RevisionBarPlacement = value }; rtfDocumentSettings.RevisionBarPlacement(value);public static RtfDocumentSettings RevisionDisplayStyle(RtfDocumentSettings rtfDocumentSettings, int? value) #Sets RtfDocumentSettings.RevisionDisplayStyle: Revision text display style represented by \revprop.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { RevisionDisplayStyle = value }; rtfDocumentSettings.RevisionDisplayStyle(value);public static RtfDocumentSettings RevisionProtection(RtfDocumentSettings rtfDocumentSettings, bool? value = true) #Sets RtfDocumentSettings.RevisionProtection: Whether revision protection is explicitly enabled or disabled.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { RevisionProtection = value }; rtfDocumentSettings.RevisionProtection(value);public static RtfDocumentSettings RevisionTracking(RtfDocumentSettings rtfDocumentSettings, bool? enabled = null, int? displayStyle = null, int? barPlacement = null) #Sets revision-marking display controls.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- enabled bool? = null
- The value.
- displayStyle int? = null
- The value.
- barPlacement int? = null
- The value.
public static RtfDocumentSettings SnapToDrawingGrid(RtfDocumentSettings rtfDocumentSettings, bool? value = true) #Sets RtfDocumentSettings.SnapToDrawingGrid: Whether drawing objects snap to the document grid, represented by \dgsnap.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { SnapToDrawingGrid = value }; rtfDocumentSettings.SnapToDrawingGrid(value);public static RtfDocumentSettings TrackRevisions(RtfDocumentSettings rtfDocumentSettings, bool? value = true) #Sets RtfDocumentSettings.TrackRevisions: Whether revision marking is enabled, represented by \revisions.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { TrackRevisions = value }; rtfDocumentSettings.TrackRevisions(value);public static RtfDocumentSettings UnicodeSkipCount(RtfDocumentSettings rtfDocumentSettings, int count) #Sets the document default alternate character count after Unicode escapes (0 through 8).
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- count int
- The value.
public static RtfDocumentSettings UnicodeSkipCount(RtfDocumentSettings rtfDocumentSettings, int? value) #Sets RtfDocumentSettings.UnicodeSkipCount: Default alternate character count after Unicode escapes, represented by \uc.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { UnicodeSkipCount = value }; rtfDocumentSettings.UnicodeSkipCount(value);public static RtfDocumentSettings View(RtfDocumentSettings rtfDocumentSettings, int? kind = null, int? scale = null, int? zoomKind = null, int? backspaceBehavior = null) #Sets the document view controls.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- kind int? = null
- The value.
- scale int? = null
- The value.
- zoomKind int? = null
- The value.
- backspaceBehavior int? = null
- The value.
public static RtfDocumentSettings ViewBackspaceBehavior(RtfDocumentSettings rtfDocumentSettings, int? value) #Sets RtfDocumentSettings.ViewBackspaceBehavior: View backspace behavior represented by \viewbksp.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { ViewBackspaceBehavior = value }; rtfDocumentSettings.ViewBackspaceBehavior(value);public static RtfDocumentSettings ViewKind(RtfDocumentSettings rtfDocumentSettings, int? value) #Sets RtfDocumentSettings.ViewKind: View kind value represented by \viewkind.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { ViewKind = value }; rtfDocumentSettings.ViewKind(value);public static RtfDocumentSettings ViewScale(RtfDocumentSettings rtfDocumentSettings, int? value) #Sets RtfDocumentSettings.ViewScale: View scale percentage represented by \viewscale.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { ViewScale = value }; rtfDocumentSettings.ViewScale(value);public static RtfDocumentSettings WidowOrphanControl(RtfDocumentSettings rtfDocumentSettings, bool? value = true) #Sets RtfDocumentSettings.WidowOrphanControl: Whether widow/orphan control is explicitly enabled or disabled.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value bool? = true
- The value; true when omitted.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { WidowOrphanControl = value }; rtfDocumentSettings.WidowOrphanControl(value);public static RtfDocumentSettings ZoomKind(RtfDocumentSettings rtfDocumentSettings, int? value) #Sets RtfDocumentSettings.ZoomKind: Zoom kind value represented by \viewzk.
Parameters
- rtfDocumentSettings OfficeIMO.Rtf.RtfDocumentSettings
- The instance.
- value int?
- The value.
Examples
// C# initializer or property // C# fluent
new global::OfficeIMO.Rtf.RtfDocumentSettings { ZoomKind = value }; rtfDocumentSettings.ZoomKind(value);