Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Enum

RtfGeneratedTextKind

OfficeIMO.Rtf

Namespace
OfficeIMO.Rtf
Assembly
OfficeIMO.Rtf
Source revision
ba882f6b0d07 with working tree changes
Base
Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers
sealed

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

Inheritance

  • Enum
  • RtfGeneratedTextKind

Usage

Explore 10 API references to this type

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

Accepted by parameters 2

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