Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

RtfListLevel

Namespace OfficeIMO.Rtf
Assembly OfficeIMO.Rtf
Implements
IRtfCloneable
Modifiers sealed

Level inside an RTF list definition.

Inheritance

  • Object
  • RtfListLevel

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

public RtfListLevel(Int32 levelIndex, RtfListKind kind = Decimal) #

Creates a list level.

Parameters

levelIndex System.Int32 requiredposition: 0
kind OfficeIMO.Rtf.RtfListKind = Decimal optionalposition: 1

Properties

public Int32 LevelIndex { get; } #

Zero-based list level index.

public RtfListKind Kind { get; set; } #

Basic marker kind.

public Nullable<Int32> NumberFormat { get; set; } #

RTF numbering format code from \levelnfc, when present.

public Nullable<Int32> NumberFormatN { get; set; } #

RTF numbering format code from \levelnfcn, when present.

public Nullable<RtfListLevelAlignment> Alignment { get; set; } #

List marker alignment from \leveljc.

public Nullable<RtfListLevelAlignment> AlignmentN { get; set; } #

Bidirectional-aware list marker alignment from \leveljcn.

public Nullable<RtfListLevelFollowCharacter> FollowCharacter { get; set; } #

Character that follows the list marker.

public Nullable<Int32> StartAt { get; set; } #

Starting number for numbered lists.

public Nullable<Int32> SpaceTwips { get; set; } #

Legacy minimum distance from the number's right edge to the paragraph text, in twips.

public Nullable<Int32> IndentTwips { get; set; } #

Legacy minimum distance from left indent to paragraph text, in twips.

public Nullable<Boolean> LegalNumbering { get; set; } #

Whether previous-level numbers should be displayed as Arabic numbers.

public Nullable<Boolean> NoRestart { get; set; } #

Whether this level does not restart when a higher level increments.

public Nullable<Int32> PictureIndex { get; set; } #

Optional picture bullet index from \levelpicture.

public Boolean PictureNoSize { get; set; } #

Whether picture bullets should keep their original size.

public String Text { get; set; } #

Marker template from \leveltext, with %1 through %9 denoting the corresponding level number.

public String Numbers { get; set; } #

One-based placeholder offsets from \levelnumbers. Null lets normalized output derive the offsets from Text.

public Nullable<Int32> LeftIndentTwips { get; set; } #

Left indentation in twips.

public Nullable<Int32> FirstLineIndentTwips { get; set; } #

First-line indentation in twips.