Class
RtfField
OfficeIMO.Rtf
RTF field with instruction text and rich inline result content.
Inheritance
- object
- RtfField
Usage
Explore 3 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 3
- Method RtfField.SetFormFieldData
- Method RtfParagraph.AddEquationField
- Method RtfParagraph.AddField
Constructors
Methods
public RtfFormFieldData GetOrCreateFormFieldData() #Creates form-field metadata if it does not already exist and returns it.
Returns
RtfFormFieldDatapublic RtfHyperlinkFieldInfo GetOrCreateHyperlinkField() #Creates hyperlink field metadata if it does not already exist and returns it.
Returns
RtfHyperlinkFieldInfoInherited Methods
Properties
public string Instruction { get; set; } #Raw field instruction text, for example PAGE \* MERGEFORMAT.
public RtfFieldCodeSyntax FieldCode { get; private set; } #Lossless typed syntax for RtfField.Instruction.
public RtfHyperlinkFieldInfo? HyperlinkField { get; set; } #Parsed metadata for HYPERLINK fields. The raw RtfField.Instruction remains authoritative.
public bool IsEquation { get; } #Gets whether this is a Word EQ mathematical equation field.
public RtfFormFieldData? FormFieldData { get; set; } #Optional Word form-field metadata from an RTF \ffdata destination.