RtfLosslessEditorFluent
OfficeIMO.Rtf
The fluent methods of RtfLosslessEditor, 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
- RtfLosslessEditorFluent
Methods
public static RtfLosslessEditor AnsiCodePage(RtfLosslessEditor rtfLosslessEditor, int? codePage) #Adds, replaces, or removes the root ANSI code page control while preserving the rest of the RTF stream.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- codePage int?
- The value.
public static RtfLosslessEditor CharacterSet(RtfLosslessEditor rtfLosslessEditor, RtfDocumentCharacterSet characterSet, int? ansiCodePage = null) #Sets the root document character set declaration and optionally replaces the root ANSI code page.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- characterSet OfficeIMO.Rtf.RtfDocumentCharacterSet
- The value.
- ansiCodePage int? = null
- The value.
public static RtfLosslessEditor DefaultFont(RtfLosslessEditor rtfLosslessEditor, int? fontId) #Adds, replaces, or removes the root default font id control while preserving the rest of the RTF stream.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- fontId int?
- The value.
public static RtfLosslessEditor DefaultLanguages(RtfLosslessEditor rtfLosslessEditor, int? defaultLanguageId = null, int? defaultFarEastLanguageId = null, int? defaultAlternateLanguageId = null) #Adds, replaces, or removes root default language controls while preserving untouched RTF syntax.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- defaultLanguageId int? = null
- The value.
- defaultFarEastLanguageId int? = null
- The value.
- defaultAlternateLanguageId int? = null
- The value.
public static RtfLosslessEditor DefaultTabWidth(RtfLosslessEditor rtfLosslessEditor, int? twips) #Adds, replaces, or removes the root default tab width while preserving untouched RTF syntax.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- twips int?
- The value.
public static RtfLosslessEditor DocumentDirection(RtfLosslessEditor rtfLosslessEditor, RtfTextDirection? direction) #Adds, replaces, or removes the root document direction control while preserving untouched RTF syntax.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- direction OfficeIMO.Rtf.RtfTextDirection?
- The value.
public static RtfLosslessEditor DocumentHyphenation(RtfLosslessEditor rtfLosslessEditor, bool? automatic = null, bool? caps = null, int? consecutiveLimit = null, int? zoneTwips = null) #Adds, replaces, or removes root document hyphenation controls while preserving untouched RTF syntax.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- automatic bool? = null
- The value.
- caps bool? = null
- The value.
- consecutiveLimit int? = null
- The value.
- zoneTwips int? = null
- The value.
public static RtfLosslessEditor DocumentLayoutOptions(RtfLosslessEditor rtfLosslessEditor, bool? widowOrphanControl = null, bool? facingPages = null, bool? mirrorMargins = null) #Adds, replaces, or removes root document layout option controls while preserving untouched RTF syntax.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- widowOrphanControl bool? = null
- The value.
- facingPages bool? = null
- The value.
- mirrorMargins bool? = null
- The value.
public static RtfLosslessEditor DocumentProtection(RtfLosslessEditor rtfLosslessEditor, bool? forms = null, bool? revisions = null, bool? annotations = null, bool? readOnly = null) #Adds, replaces, or removes root document protection controls while preserving untouched RTF syntax.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- forms bool? = null
- The value.
- revisions bool? = null
- The value.
- annotations bool? = null
- The value.
- readOnly bool? = null
- The value.
public static RtfLosslessEditor DocumentView(RtfLosslessEditor rtfLosslessEditor, int? kind = null, int? scale = null, int? zoomKind = null, int? backspaceBehavior = null) #Adds, replaces, or removes root document view controls while preserving untouched RTF syntax.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- kind int? = null
- The value.
- scale int? = null
- The value.
- zoomKind int? = null
- The value.
- backspaceBehavior int? = null
- The value.
public static RtfLosslessEditor DrawingGrid(RtfLosslessEditor rtfLosslessEditor, int? horizontalSpacingTwips = null, int? verticalSpacingTwips = null, int? horizontalOriginTwips = null, int? verticalOriginTwips = null, int? horizontalShow = null, int? verticalShow = null, bool? snapToGrid = null, bool? useMargins = null) #Adds, replaces, or removes root drawing grid controls while preserving untouched RTF syntax.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- 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 RtfLosslessEditor Generator(RtfLosslessEditor rtfLosslessEditor, string? value) #Adds, replaces, or removes the root generator metadata group while preserving the rest of the RTF stream.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- value string?
- The value.
public static RtfLosslessEditor GutterWidth(RtfLosslessEditor rtfLosslessEditor, int? gutterWidthTwips) #Adds, replaces, or removes the root document gutter width while preserving untouched RTF syntax.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- gutterWidthTwips int?
- The value.
public static RtfLosslessEditor Info(RtfLosslessEditor rtfLosslessEditor, RtfDocumentInfoField field, string? value) #Adds, replaces, or removes a document information field while preserving the rest of the RTF stream.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- field OfficeIMO.Rtf.RtfDocumentInfoField
- The value.
- value string?
- The value.
public static RtfLosslessEditor InfoNumber(RtfLosslessEditor rtfLosslessEditor, RtfDocumentInfoNumberField field, int? value) #Adds, replaces, or removes a numeric document information field while preserving the rest of the RTF stream.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- field OfficeIMO.Rtf.RtfDocumentInfoNumberField
- The value.
- value int?
- The value.
public static RtfLosslessEditor InfoTimestamp(RtfLosslessEditor rtfLosslessEditor, RtfDocumentInfoTimestampField field, DateTime? value) #Adds, replaces, or removes a document information timestamp while preserving the rest of the RTF stream.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- field OfficeIMO.Rtf.RtfDocumentInfoTimestampField
- The value.
- value System.DateTime?
- The value.
public static RtfLosslessEditor Landscape(RtfLosslessEditor rtfLosslessEditor, bool enabled = true) #Adds or removes the root landscape orientation control while preserving untouched RTF syntax.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- enabled bool = true
- The value.
public static RtfLosslessEditor Margins(RtfLosslessEditor rtfLosslessEditor, int? leftTwips = null, int? rightTwips = null, int? topTwips = null, int? bottomTwips = null) #Adds, replaces, or removes root document margin controls while preserving untouched RTF syntax.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- leftTwips int? = null
- The value.
- rightTwips int? = null
- The value.
- topTwips int? = null
- The value.
- bottomTwips int? = null
- The value.
public static RtfLosslessEditor PageBorder(RtfLosslessEditor rtfLosslessEditor, RtfPageBorderSide side, RtfPageBorderStyle style, int? width = null, int? space = null, int? colorIndex = null, bool frame = false) #Adds, replaces, or removes one root page-border side while preserving untouched RTF syntax.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- side OfficeIMO.Rtf.RtfPageBorderSide
- The value.
- style OfficeIMO.Rtf.RtfPageBorderStyle
- The value.
- width int? = null
- The value.
- space int? = null
- The value.
- colorIndex int? = null
- The value.
- frame bool = false
- The value.
public static RtfLosslessEditor PageBorderOptions(RtfLosslessEditor rtfLosslessEditor, bool? includeHeader = null, bool? includeFooter = null, bool? snapToPageBorder = null, RtfPageBorderScope? scope = null, bool? displayBehindText = null, RtfPageBorderOffset? offsetFrom = null) #Adds, replaces, or removes root page-border option controls while preserving untouched RTF syntax.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- includeHeader bool? = null
- The value.
- includeFooter bool? = null
- The value.
- snapToPageBorder bool? = null
- The value.
- scope OfficeIMO.Rtf.RtfPageBorderScope? = null
- The value.
- displayBehindText bool? = null
- The value.
- offsetFrom OfficeIMO.Rtf.RtfPageBorderOffset? = null
- The value.
public static RtfLosslessEditor PageNumbering(RtfLosslessEditor rtfLosslessEditor, int? start = null, bool? restart = null, RtfPageNumberFormat? format = null, int? positionXTwips = null, int? positionYTwips = null) #Adds, replaces, or removes root page-numbering controls while preserving untouched RTF syntax.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- 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 RtfLosslessEditor PageSize(RtfLosslessEditor rtfLosslessEditor, int? widthTwips, int? heightTwips) #Adds, replaces, or removes root document paper size controls while preserving untouched RTF syntax.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- widthTwips int?
- The value.
- heightTwips int?
- The value.
public static RtfLosslessEditor PrinterPaper(RtfLosslessEditor rtfLosslessEditor, int? paperSize = null, int? firstPageSource = null, int? otherPagesSource = null) #Adds, replaces, or removes root printer paper metadata controls while preserving untouched RTF syntax.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- paperSize int? = null
- The value.
- firstPageSource int? = null
- The value.
- otherPagesSource int? = null
- The value.
public static RtfLosslessEditor RevisionRootSaveId(RtfLosslessEditor rtfLosslessEditor, int? id) #Adds, replaces, or removes the root revision save id in the root rsidtbl destination while preserving the rest of the RTF stream.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- id int?
- The value.
public static RtfLosslessEditor RevisionTracking(RtfLosslessEditor rtfLosslessEditor, bool? enabled = null, int? displayStyle = null, int? barPlacement = null) #Adds, replaces, or removes root revision tracking controls while preserving untouched RTF syntax.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- enabled bool? = null
- The value.
- displayStyle int? = null
- The value.
- barPlacement int? = null
- The value.
public static RtfLosslessEditor RtlGutter(RtfLosslessEditor rtfLosslessEditor, bool enabled = true) #Adds or removes the root right-to-left gutter control while preserving untouched RTF syntax.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- enabled bool = true
- The value.
public static RtfLosslessEditor UnicodeSkipCount(RtfLosslessEditor rtfLosslessEditor, int? count) #Adds, replaces, or removes the root Unicode fallback skip count while preserving the rest of the RTF stream.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- count int?
- The value.
public static RtfLosslessEditor UserProperty(RtfLosslessEditor rtfLosslessEditor, RtfUserProperty property) #Adds or replaces a custom document property in the root userprops destination while preserving the rest of the RTF stream.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- property OfficeIMO.Rtf.RtfUserProperty
- The value.
public static RtfLosslessEditor UserProperty(RtfLosslessEditor rtfLosslessEditor, string name, string value) #Adds or replaces a text custom document property in the root userprops destination.
Parameters
- rtfLosslessEditor OfficeIMO.Rtf.RtfLosslessEditor
- The instance.
- name string
- The value.
- value string
- The value.