Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

RtfLineNumbering

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

Section line-numbering settings.

Inheritance

  • Object
  • RtfLineNumbering

Usage

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

Returned or exposed by

Constructors

public RtfLineNumbering() #

Methods

public RtfLineNumbering Set(Nullable<Int32> countBy = null, Nullable<Int32> distanceFromTextTwips = null, Nullable<Int32> startNumber = null, Nullable<RtfLineNumberRestart> restart = null) #
Returns: RtfLineNumbering

Sets section line-numbering controls.

Parameters

countBy System.Nullable{System.Int32} = null optionalposition: 0
distanceFromTextTwips System.Nullable{System.Int32} = null optionalposition: 1
startNumber System.Nullable{System.Int32} = null optionalposition: 2
restart System.Nullable{OfficeIMO.Rtf.RtfLineNumberRestart} = null optionalposition: 3

Properties

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

Line-number increment modulus. A value of 0 represents no line numbering.

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

Distance from line numbers to the left text margin in twips.

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

Beginning line number.

public Nullable<RtfLineNumberRestart> Restart { get; set; } #

Line-number restart behavior.

public Boolean HasAnyValue { get; } #

Whether any line-numbering control has been set.