Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Enum

RtfGeneratedTextKind

Namespace OfficeIMO.Rtf
Assembly OfficeIMO.Rtf
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Built-in generated text controls represented directly by RTF control words.

Inheritance

  • Enum
  • RtfGeneratedTextKind

Usage

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

Accepted by parameters

Values

public const RtfGeneratedTextKind PageNumber #

Current page number, emitted as \chpgn.

Value: 0
public const RtfGeneratedTextKind SectionNumber #

Current section number, emitted as \sectnum.

Value: 1
public const RtfGeneratedTextKind CurrentDate #

Current date, emitted as \chdate.

Value: 2
public const RtfGeneratedTextKind CurrentDateLong #

Current date in long format, emitted as \chdpl.

Value: 3
public const RtfGeneratedTextKind CurrentDateAbbreviated #

Current date in abbreviated format, emitted as \chdpa.

Value: 4
public const RtfGeneratedTextKind CurrentTime #

Current time, emitted as \chtime.

Value: 5
public const RtfGeneratedTextKind NoteReference #

Automatic note reference marker, emitted as \chftn.

Value: 6