Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

RtfParagraphFluent

OfficeIMO.Rtf

Namespace
OfficeIMO.Rtf
Assembly
OfficeIMO.Rtf
Modifiers
static

The fluent methods of RtfParagraph, 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
  • RtfParagraphFluent

Methods

public static RtfParagraph AdjustRightIndent(RtfParagraph rtfParagraph, bool? enabled = true) #

Sets automatic right-indent adjustment for document-grid layouts.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
enabled bool? = true optional
The value.

Returns

RtfParagraph The same instance.
public static RtfParagraph Alignment(RtfParagraph rtfParagraph, RtfTextAlignment alignment) #

Sets paragraph alignment.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
alignment OfficeIMO.Rtf.RtfTextAlignment required
The value.

Returns

RtfParagraph The same instance.
public static RtfParagraph AutoHyphenation(RtfParagraph rtfParagraph, bool? value = true) #

Sets RtfParagraph.AutoHyphenation: Paragraph-level automatic hyphenation override represented by \hyphpar.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { AutoHyphenation = value };    rtfParagraph.AutoHyphenation(value);
public static RtfParagraph BackgroundColor(RtfParagraph rtfParagraph, int? colorIndex) #

Sets paragraph background shading to a one-based color table index.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
colorIndex int? required
The value.

Returns

RtfParagraph The same instance.
public static RtfParagraph BackgroundColorIndex(RtfParagraph rtfParagraph, int? value) #

Sets RtfParagraph.BackgroundColorIndex: One-based color table index used by paragraph background shading.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value int? required
The value.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { BackgroundColorIndex = value };    rtfParagraph.BackgroundColorIndex(value);
public static RtfParagraph Border(RtfParagraph rtfParagraph, RtfParagraphBorderSide side, RtfParagraphBorderStyle style, int? width = null, int? colorIndex = null) #

Sets paragraph border formatting for one side.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
side OfficeIMO.Rtf.RtfParagraphBorderSide required
The value.
style OfficeIMO.Rtf.RtfParagraphBorderStyle required
The value.
width int? = null optional
The value.
colorIndex int? = null optional
The value.

Returns

RtfParagraph The same instance.
public static RtfParagraph BottomBorder(RtfParagraph rtfParagraph, Action<RtfParagraphBorder> configure) #

Configures RtfParagraph.BottomBorder in place: Bottom paragraph border.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
configure System.Action<OfficeIMO.Rtf.RtfParagraphBorder> required
Configures the value.

Returns

RtfParagraph The same instance.
public static RtfParagraph ContextualSpacing(RtfParagraph rtfParagraph, bool? enabled = true) #

Sets contextual paragraph spacing.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
enabled bool? = true optional
The value.

Returns

RtfParagraph The same instance.
public static RtfParagraph DirectAlignment(RtfParagraph rtfParagraph, RtfTextAlignment? value) #

Sets RtfParagraph.DirectAlignment: Authored Alignment override. Null inherits from the selected style; an explicit default clears that style value.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value OfficeIMO.Rtf.RtfTextAlignment? required
The value.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { DirectAlignment = value };    rtfParagraph.DirectAlignment(value);
public static RtfParagraph Direction(RtfParagraph rtfParagraph, RtfTextDirection? direction) #

Sets explicit paragraph text direction.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
direction OfficeIMO.Rtf.RtfTextDirection? required
The value.

Returns

RtfParagraph The same instance.
public static RtfParagraph DirectKeepLinesTogether(RtfParagraph rtfParagraph, bool? value = true) #

Sets RtfParagraph.DirectKeepLinesTogether: Authored KeepLinesTogether override. Null inherits from the selected style; an explicit default clears that style value.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                                  // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { DirectKeepLinesTogether = value };    rtfParagraph.DirectKeepLinesTogether(value);
public static RtfParagraph DirectKeepWithNext(RtfParagraph rtfParagraph, bool? value = true) #

Sets RtfParagraph.DirectKeepWithNext: Authored KeepWithNext override. Null inherits from the selected style; an explicit default clears that style value.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                             // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { DirectKeepWithNext = value };    rtfParagraph.DirectKeepWithNext(value);
public static RtfParagraph DirectPageBreakBefore(RtfParagraph rtfParagraph, bool? value = true) #

Sets RtfParagraph.DirectPageBreakBefore: Authored PageBreakBefore override. Null inherits from the selected style; an explicit default clears that style value.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { DirectPageBreakBefore = value };    rtfParagraph.DirectPageBreakBefore(value);
public static RtfParagraph DirectSuppressLineNumbers(RtfParagraph rtfParagraph, bool? value = true) #

Sets RtfParagraph.DirectSuppressLineNumbers: Authored SuppressLineNumbers override. Null inherits from the selected style; an explicit default clears that style value.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { DirectSuppressLineNumbers = value };    rtfParagraph.DirectSuppressLineNumbers(value);
public static RtfParagraph FirstLineIndentTwips(RtfParagraph rtfParagraph, int? value) #

Sets RtfParagraph.FirstLineIndentTwips: First-line indentation in twips.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value int? required
The value.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { FirstLineIndentTwips = value };    rtfParagraph.FirstLineIndentTwips(value);
public static RtfParagraph Frame(RtfParagraph rtfParagraph, Action<RtfParagraphFrame> configure) #

Configures absolute positioning frame metadata for this paragraph.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
configure System.Action<OfficeIMO.Rtf.RtfParagraphFrame> required
The value.

Returns

RtfParagraph The same instance.
public static RtfParagraph Indentation(RtfParagraph rtfParagraph, int? leftTwips = null, int? rightTwips = null, int? firstLineTwips = null) #

Sets paragraph indentation in twips.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
leftTwips int? = null optional
The value.
rightTwips int? = null optional
The value.
firstLineTwips int? = null optional
The value.

Returns

RtfParagraph The same instance.
public static RtfParagraph KeepLinesTogether(RtfParagraph rtfParagraph, bool value = true) #

Sets RtfParagraph.KeepLinesTogether: Whether all lines in this paragraph should stay together on the same page.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value bool = true optional
The value; true when omitted.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { KeepLinesTogether = value };    rtfParagraph.KeepLinesTogether(value);
public static RtfParagraph KeepWithNext(RtfParagraph rtfParagraph, bool value = true) #

Sets RtfParagraph.KeepWithNext: Whether this paragraph should stay on the same page as the following paragraph.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value bool = true optional
The value; true when omitted.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { KeepWithNext = value };    rtfParagraph.KeepWithNext(value);
public static RtfParagraph LeftBorder(RtfParagraph rtfParagraph, Action<RtfParagraphBorder> configure) #

Configures RtfParagraph.LeftBorder in place: Left paragraph border.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
configure System.Action<OfficeIMO.Rtf.RtfParagraphBorder> required
Configures the value.

Returns

RtfParagraph The same instance.
public static RtfParagraph LeftIndentTwips(RtfParagraph rtfParagraph, int? value) #

Sets RtfParagraph.LeftIndentTwips: Left indentation in twips.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value int? required
The value.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { LeftIndentTwips = value };    rtfParagraph.LeftIndentTwips(value);
public static RtfParagraph LegacyNumbering(RtfParagraph rtfParagraph, Action<RtfLegacyNumbering> configure) #

Configures Word 6/95 legacy paragraph numbering metadata.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
configure System.Action<OfficeIMO.Rtf.RtfLegacyNumbering> required
The value.

Returns

RtfParagraph The same instance.
public static RtfParagraph LineSpacing(RtfParagraph rtfParagraph, int? lineSpacingTwips, bool? multiple = null) #

Sets raw RTF paragraph line spacing controls.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
lineSpacingTwips int? required
The value.
multiple bool? = null optional
The value.

Returns

RtfParagraph The same instance.
public static RtfParagraph LineSpacingMultiple(RtfParagraph rtfParagraph, bool? value = true) #

Sets RtfParagraph.LineSpacingMultiple: Whether \sl is interpreted as multiple line spacing by \slmult. Null means not specified.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { LineSpacingMultiple = value };    rtfParagraph.LineSpacingMultiple(value);
public static RtfParagraph LineSpacingTwips(RtfParagraph rtfParagraph, int? value) #

Sets RtfParagraph.LineSpacingTwips: Raw RTF line spacing value from \sl.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value int? required
The value.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { LineSpacingTwips = value };    rtfParagraph.LineSpacingTwips(value);
public static RtfParagraph List(RtfParagraph rtfParagraph, int listId = 1, int level = 0, RtfListKind kind = Bullet) #

Marks the paragraph as a list item.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
listId int = 1 optional
The value.
level int = 0 optional
The value.
kind OfficeIMO.Rtf.RtfListKind = Bullet optional
The value.

Returns

RtfParagraph The same instance.
public static RtfParagraph ListDefinitionId(RtfParagraph rtfParagraph, int? value) #

Sets RtfParagraph.ListDefinitionId: Optional list definition id resolved through the list override table.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value int? required
The value.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { ListDefinitionId = value };    rtfParagraph.ListDefinitionId(value);
public static RtfParagraph ListId(RtfParagraph rtfParagraph, int? value) #

Sets RtfParagraph.ListId: Optional list id for paragraphs bound to an RTF list override.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value int? required
The value.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                 // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { ListId = value };    rtfParagraph.ListId(value);
public static RtfParagraph ListKind(RtfParagraph rtfParagraph, RtfListKind value) #

Sets RtfParagraph.ListKind: Basic list marker kind.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value OfficeIMO.Rtf.RtfListKind required
The value.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                   // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { ListKind = value };    rtfParagraph.ListKind(value);
public static RtfParagraph ListLevel(RtfParagraph rtfParagraph, int? value) #

Sets RtfParagraph.ListLevel: Optional zero-based list level.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value int? required
The value.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                    // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { ListLevel = value };    rtfParagraph.ListLevel(value);
ListText 2 overloads
public static RtfParagraph ListText(RtfParagraph rtfParagraph, string text) #

Sets plain fallback list marker text emitted in a \listtext destination.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
text string required
The value.

Returns

RtfParagraph The same instance.
public static RtfParagraph ListText(RtfParagraph rtfParagraph, Action<RtfParagraph> configure) #

Configures rich fallback list marker content emitted in a \listtext destination.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
configure System.Action<OfficeIMO.Rtf.RtfParagraph> required
The value.

Returns

RtfParagraph The same instance.
public static RtfParagraph OutlineLevel(RtfParagraph rtfParagraph, int? outlineLevel) #

Sets the paragraph outline level.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
outlineLevel int? required
The value.

Returns

RtfParagraph The same instance.
public static RtfParagraph PageBreakBefore(RtfParagraph rtfParagraph, bool value = true) #

Sets RtfParagraph.PageBreakBefore: Whether a page break should be emitted before this paragraph.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value bool = true optional
The value; true when omitted.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { PageBreakBefore = value };    rtfParagraph.PageBreakBefore(value);
public static RtfParagraph Pagination(RtfParagraph rtfParagraph, bool? pageBreakBefore = null, bool? keepWithNext = null, bool? keepLinesTogether = null, bool? widowControl = null, bool? suppressLineNumbers = null, bool? autoHyphenation = null) #

Sets paragraph pagination controls.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
pageBreakBefore bool? = null optional
The value.
keepWithNext bool? = null optional
The value.
keepLinesTogether bool? = null optional
The value.
widowControl bool? = null optional
The value.
suppressLineNumbers bool? = null optional
The value.
autoHyphenation bool? = null optional
The value.

Returns

RtfParagraph The same instance.
public static RtfParagraph ParagraphSpacing(RtfParagraph rtfParagraph, int? beforeTwips = null, int? afterTwips = null, bool? beforeAuto = null, bool? afterAuto = null) #

Sets paragraph spacing before and after this paragraph.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
beforeTwips int? = null optional
The value.
afterTwips int? = null optional
The value.
beforeAuto bool? = null optional
The value.
afterAuto bool? = null optional
The value.

Returns

RtfParagraph The same instance.
public static RtfParagraph RevisionSaveId(RtfParagraph rtfParagraph, int? id) #

Sets the paragraph revision save identifier represented by \pararsid.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
id int? required
The value.

Returns

RtfParagraph The same instance.
public static RtfParagraph RightBorder(RtfParagraph rtfParagraph, Action<RtfParagraphBorder> configure) #

Configures RtfParagraph.RightBorder in place: Right paragraph border.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
configure System.Action<OfficeIMO.Rtf.RtfParagraphBorder> required
Configures the value.

Returns

RtfParagraph The same instance.
public static RtfParagraph RightIndentTwips(RtfParagraph rtfParagraph, int? value) #

Sets RtfParagraph.RightIndentTwips: Right indentation in twips.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value int? required
The value.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { RightIndentTwips = value };    rtfParagraph.RightIndentTwips(value);
public static RtfParagraph Shading(RtfParagraph rtfParagraph, int? backgroundColorIndex, int? foregroundColorIndex = null, int? patternPercent = null, RtfShadingPattern pattern = None) #

Sets paragraph shading color and pattern metadata.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
backgroundColorIndex int? required
The value.
foregroundColorIndex int? = null optional
The value.
patternPercent int? = null optional
The value.
pattern OfficeIMO.Rtf.RtfShadingPattern = None optional
The value.

Returns

RtfParagraph The same instance.
public static RtfParagraph ShadingForegroundColorIndex(RtfParagraph rtfParagraph, int? value) #

Sets RtfParagraph.ShadingForegroundColorIndex: One-based color table index used by paragraph pattern foreground shading.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value int? required
The value.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { ShadingForegroundColorIndex = value };    rtfParagraph.ShadingForegroundColorIndex(value);
public static RtfParagraph ShadingPattern(RtfParagraph rtfParagraph, RtfShadingPattern value) #

Sets RtfParagraph.ShadingPattern: Named RTF shading pattern.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value OfficeIMO.Rtf.RtfShadingPattern required
The value.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { ShadingPattern = value };    rtfParagraph.ShadingPattern(value);
public static RtfParagraph ShadingPatternPercent(RtfParagraph rtfParagraph, int? value) #

Sets RtfParagraph.ShadingPatternPercent: Raw RTF \shading value, where 10000 represents 100 percent.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value int? required
The value.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                                // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { ShadingPatternPercent = value };    rtfParagraph.ShadingPatternPercent(value);
public static RtfParagraph SnapToLineGrid(RtfParagraph rtfParagraph, bool? enabled = true) #

Sets whether paragraph lines snap to the document line grid.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
enabled bool? = true optional
The value.

Returns

RtfParagraph The same instance.
public static RtfParagraph SpaceAfterAuto(RtfParagraph rtfParagraph, bool? value = true) #

Sets RtfParagraph.SpaceAfterAuto: Whether space after the paragraph is automatically determined by the renderer.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                         // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { SpaceAfterAuto = value };    rtfParagraph.SpaceAfterAuto(value);
public static RtfParagraph SpaceAfterTwips(RtfParagraph rtfParagraph, int? value) #

Sets RtfParagraph.SpaceAfterTwips: Space after paragraph in twips.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value int? required
The value.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { SpaceAfterTwips = value };    rtfParagraph.SpaceAfterTwips(value);
public static RtfParagraph SpaceBeforeAuto(RtfParagraph rtfParagraph, bool? value = true) #

Sets RtfParagraph.SpaceBeforeAuto: Whether space before the paragraph is automatically determined by the renderer.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { SpaceBeforeAuto = value };    rtfParagraph.SpaceBeforeAuto(value);
public static RtfParagraph SpaceBeforeTwips(RtfParagraph rtfParagraph, int? value) #

Sets RtfParagraph.SpaceBeforeTwips: Space before paragraph in twips.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value int? required
The value.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { SpaceBeforeTwips = value };    rtfParagraph.SpaceBeforeTwips(value);
public static RtfParagraph Style(RtfParagraph rtfParagraph, int styleId) #

Sets the paragraph style id.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
styleId int required
The value.

Returns

RtfParagraph The same instance.
public static RtfParagraph StyleId(RtfParagraph rtfParagraph, int? value) #

Sets RtfParagraph.StyleId: Optional paragraph stylesheet id.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value int? required
The value.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                  // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { StyleId = value };    rtfParagraph.StyleId(value);
public static RtfParagraph SuppressLineNumbers(RtfParagraph rtfParagraph, bool value = true) #

Sets RtfParagraph.SuppressLineNumbers: Whether line numbering is suppressed for this paragraph.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value bool = true optional
The value; true when omitted.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { SuppressLineNumbers = value };    rtfParagraph.SuppressLineNumbers(value);
public static RtfParagraph TopBorder(RtfParagraph rtfParagraph, Action<RtfParagraphBorder> configure) #

Configures RtfParagraph.TopBorder in place: Top paragraph border.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
configure System.Action<OfficeIMO.Rtf.RtfParagraphBorder> required
Configures the value.

Returns

RtfParagraph The same instance.
public static RtfParagraph WidowControl(RtfParagraph rtfParagraph, bool? value = true) #

Sets RtfParagraph.WidowControl: Explicit paragraph widow/orphan control. Null means not specified.

Parameters

rtfParagraph OfficeIMO.Rtf.RtfParagraph required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

RtfParagraph The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Rtf.RtfParagraph { WidowControl = value };    rtfParagraph.WidowControl(value);