Enum
RtfGeneratedTextKind
OfficeIMO.Rtf
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.
Returned or exposed by 8
- Property RtfGeneratedText.Kind
- Field RtfGeneratedTextKind.CurrentDate
- Field RtfGeneratedTextKind.CurrentDateAbbreviated
- Field RtfGeneratedTextKind.CurrentDateLong
- Field RtfGeneratedTextKind.CurrentTime
- Field RtfGeneratedTextKind.NoteReference
- Field RtfGeneratedTextKind.PageNumber
- Field RtfGeneratedTextKind.SectionNumber
Accepted by parameters 2
- Constructor RtfGeneratedText.RtfGeneratedText
- Method RtfParagraph.AddGeneratedText
Inherited Methods
ToString 4 overloads
public string ToString(IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider?
Returns
stringpublic string ToString(string? format, IFormatProvider? provider) #Inherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format string?
- provider IFormatProvider?
Returns
stringValues
public const RtfGeneratedTextKind SectionNumber #Current section number, emitted as \sectnum.
Value:
1public const RtfGeneratedTextKind CurrentDateLong #Current date in long format, emitted as \chdpl.
Value:
3public const RtfGeneratedTextKind CurrentDateAbbreviated #Current date in abbreviated format, emitted as \chdpa.
Value:
4public const RtfGeneratedTextKind NoteReference #Automatic note reference marker, emitted as \chftn.
Value:
6