API Reference
Enum
RtfGeneratedTextKind
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.
Returned or exposed by
- 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
- Constructor RtfGeneratedText.RtfGeneratedText
- Method RtfParagraph.AddGeneratedText
Inherited Methods
public override sealed Int32 CompareTo(Object target) #Returns:
Int32Inherited from Enum
Parameters
- target Object
ToString 4 overloads
public override sealed String ToString(IFormatProvider provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString() instead.")Parameters
- provider IFormatProvider
public override sealed String ToString(String format, IFormatProvider provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String
- provider IFormatProvider
Values
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