Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

RtfLegacyNumberingFluent

OfficeIMO.Rtf

Namespace
OfficeIMO.Rtf
Assembly
OfficeIMO.Rtf
Modifiers
static

The fluent methods of RtfLegacyNumbering, 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
  • RtfLegacyNumberingFluent

Methods

public static RtfLegacyNumbering Alignment(RtfLegacyNumbering rtfLegacyNumbering, RtfLegacyNumberingAlignment? value) #

Sets RtfLegacyNumbering.Alignment: Numbering alignment represented by \pnql, \pnqc, or \pnqr.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value OfficeIMO.Rtf.RtfLegacyNumberingAlignment? required
The value.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { Alignment = value };    rtfLegacyNumbering.Alignment(value);
public static RtfLegacyNumbering AllCaps(RtfLegacyNumbering rtfLegacyNumbering, bool? value = true) #

Sets RtfLegacyNumbering.AllCaps: Whether generated number text uses all caps, represented by \pncaps.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { AllCaps = value };    rtfLegacyNumbering.AllCaps(value);
public static RtfLegacyNumbering Bold(RtfLegacyNumbering rtfLegacyNumbering, bool? value = true) #

Sets RtfLegacyNumbering.Bold: Whether generated number text is bold, represented by \pnb.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                     // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { Bold = value };    rtfLegacyNumbering.Bold(value);
public static RtfLegacyNumbering Enabled(RtfLegacyNumbering rtfLegacyNumbering, bool value = true) #

Sets RtfLegacyNumbering.Enabled: Whether legacy paragraph numbering is explicitly enabled by \pn.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value bool = true optional
The value; true when omitted.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { Enabled = value };    rtfLegacyNumbering.Enabled(value);
public static RtfLegacyNumbering FontId(RtfLegacyNumbering rtfLegacyNumbering, int? value) #

Sets RtfLegacyNumbering.FontId: Font id for the generated number text, represented by \pnf.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value int? required
The value.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { FontId = value };    rtfLegacyNumbering.FontId(value);
public static RtfLegacyNumbering FontSizeHalfPoints(RtfLegacyNumbering rtfLegacyNumbering, int? value) #

Sets RtfLegacyNumbering.FontSizeHalfPoints: Font size for generated number text in half-points, represented by \pnfs.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value int? required
The value.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { FontSizeHalfPoints = value };    rtfLegacyNumbering.FontSizeHalfPoints(value);
public static RtfLegacyNumbering ForegroundColorIndex(RtfLegacyNumbering rtfLegacyNumbering, int? value) #

Sets RtfLegacyNumbering.ForegroundColorIndex: Foreground color table index for generated number text, represented by \pncf.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value int? required
The value.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                                     // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { ForegroundColorIndex = value };    rtfLegacyNumbering.ForegroundColorIndex(value);
public static RtfLegacyNumbering HangingIndent(RtfLegacyNumbering rtfLegacyNumbering, bool? value = true) #

Sets RtfLegacyNumbering.HangingIndent: Paragraph uses a hanging indent, represented by \pnhang.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { HangingIndent = value };    rtfLegacyNumbering.HangingIndent(value);
public static RtfLegacyNumbering IncludePreviousLevels(RtfLegacyNumbering rtfLegacyNumbering, bool? value = true) #

Sets RtfLegacyNumbering.IncludePreviousLevels: Include previous level numbers, represented by \pnprev.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                                      // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { IncludePreviousLevels = value };    rtfLegacyNumbering.IncludePreviousLevels(value);
public static RtfLegacyNumbering IndentTwips(RtfLegacyNumbering rtfLegacyNumbering, int? value) #

Sets RtfLegacyNumbering.IndentTwips: Minimum distance from margin to body text in twips, represented by \pnindent.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value int? required
The value.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { IndentTwips = value };    rtfLegacyNumbering.IndentTwips(value);
public static RtfLegacyNumbering Italic(RtfLegacyNumbering rtfLegacyNumbering, bool? value = true) #

Sets RtfLegacyNumbering.Italic: Whether generated number text is italic, represented by \pni.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                       // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { Italic = value };    rtfLegacyNumbering.Italic(value);
public static RtfLegacyNumbering Level(RtfLegacyNumbering rtfLegacyNumbering, int? value) #

Sets RtfLegacyNumbering.Level: Explicit one-based paragraph level from \pnlvl, when present.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value int? required
The value.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                      // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { Level = value };    rtfLegacyNumbering.Level(value);
public static RtfLegacyNumbering LevelKind(RtfLegacyNumbering rtfLegacyNumbering, RtfLegacyNumberingLevelKind value) #

Sets RtfLegacyNumbering.LevelKind: Legacy numbering level kind.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value OfficeIMO.Rtf.RtfLegacyNumberingLevelKind required
The value.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { LevelKind = value };    rtfLegacyNumbering.LevelKind(value);
public static RtfLegacyNumbering NumberAcrossRows(RtfLegacyNumbering rtfLegacyNumbering, bool? value = true) #

Sets RtfLegacyNumbering.NumberAcrossRows: Number across rows instead of down columns, represented by \pnacross.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                                 // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { NumberAcrossRows = value };    rtfLegacyNumbering.NumberAcrossRows(value);
public static RtfLegacyNumbering NumberEachCellOnce(RtfLegacyNumbering rtfLegacyNumbering, bool? value = true) #

Sets RtfLegacyNumbering.NumberEachCellOnce: Number each table cell only once, represented by \pnnumonce.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                                   // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { NumberEachCellOnce = value };    rtfLegacyNumbering.NumberEachCellOnce(value);
public static RtfLegacyNumbering NumberStyle(RtfLegacyNumbering rtfLegacyNumbering, RtfLegacyNumberingStyle value) #

Sets RtfLegacyNumbering.NumberStyle: Legacy numbering text style.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value OfficeIMO.Rtf.RtfLegacyNumberingStyle required
The value.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                            // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { NumberStyle = value };    rtfLegacyNumbering.NumberStyle(value);
public static RtfLegacyNumbering RestartAfterSection(RtfLegacyNumbering rtfLegacyNumbering, bool? value = true) #

Sets RtfLegacyNumbering.RestartAfterSection: Restart numbering after section breaks, represented by \pnrestart.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                                    // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { RestartAfterSection = value };    rtfLegacyNumbering.RestartAfterSection(value);
public static RtfLegacyNumbering SmallCaps(RtfLegacyNumbering rtfLegacyNumbering, bool? value = true) #

Sets RtfLegacyNumbering.SmallCaps: Whether generated number text uses small caps, represented by \pnscaps.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { SmallCaps = value };    rtfLegacyNumbering.SmallCaps(value);
public static RtfLegacyNumbering SpaceTwips(RtfLegacyNumbering rtfLegacyNumbering, int? value) #

Sets RtfLegacyNumbering.SpaceTwips: Distance from number text to body text in twips, represented by \pnsp.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value int? required
The value.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { SpaceTwips = value };    rtfLegacyNumbering.SpaceTwips(value);
public static RtfLegacyNumbering StartAt(RtfLegacyNumbering rtfLegacyNumbering, int? value) #

Sets RtfLegacyNumbering.StartAt: Starting number represented by \pnstart.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value int? required
The value.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                        // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { StartAt = value };    rtfLegacyNumbering.StartAt(value);
public static RtfLegacyNumbering Strikethrough(RtfLegacyNumbering rtfLegacyNumbering, bool? value = true) #

Sets RtfLegacyNumbering.Strikethrough: Whether generated number text is struck through, represented by \pnstrike.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value bool? = true optional
The value; true when omitted.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                              // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { Strikethrough = value };    rtfLegacyNumbering.Strikethrough(value);
public static RtfLegacyNumbering TextAfter(RtfLegacyNumbering rtfLegacyNumbering, string? value) #

Sets RtfLegacyNumbering.TextAfter: Text following the generated number, represented by the \pntxta destination.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value string? required
The value.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                          // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { TextAfter = value };    rtfLegacyNumbering.TextAfter(value);
public static RtfLegacyNumbering TextBefore(RtfLegacyNumbering rtfLegacyNumbering, string? value) #

Sets RtfLegacyNumbering.TextBefore: Text preceding the generated number, represented by the \pntxtb destination.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value string? required
The value.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                           // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { TextBefore = value };    rtfLegacyNumbering.TextBefore(value);
public static RtfLegacyNumbering UnderlineStyle(RtfLegacyNumbering rtfLegacyNumbering, RtfUnderlineStyle? value) #

Sets RtfLegacyNumbering.UnderlineStyle: Underline style for generated number text.

Parameters

rtfLegacyNumbering OfficeIMO.Rtf.RtfLegacyNumbering required
The instance.
value OfficeIMO.Rtf.RtfUnderlineStyle? required
The value.

Returns

RtfLegacyNumbering The same instance.

Examples

// C# initializer or property                                               // C# fluent
new global::OfficeIMO.Rtf.RtfLegacyNumbering { UnderlineStyle = value };    rtfLegacyNumbering.UnderlineStyle(value);