RtfFormFieldData
OfficeIMO.Rtf
Word form-field metadata stored in an RTF \ffdata destination.
Inheritance
- object
- RtfFormFieldData
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 2
- Method RtfField.GetOrCreateFormFieldData
- Property RtfField.FormFieldData
Accepted by parameters 1
- Method RtfField.SetFormFieldData
Constructors
public RtfFormFieldData() #Methods
public RtfFormFieldDataControl AddControl(string name, int? parameter = null, bool hasParameter = true) #Adds a raw \ffdata control in write order and updates known convenience properties.
Parameters
- name string
- parameter int? = null
- hasParameter bool = true
Returns
RtfFormFieldDataControlInherited Methods
Properties
public IReadOnlyList<RtfFormFieldDataControl> Controls { get; } #Raw controls in source or creation order.
public IReadOnlyList<string> DropDownItems { get; } #Drop-down list items from repeated \ffl destinations.
public RtfFormFieldKind? Kind { get; set; } #Known form-field kind when RtfFormFieldData.TypeCode is recognized.
public string? StatusText { get; set; } #Custom status-bar text from \ffstattext.
public bool? Enabled { get; set; } #Whether the field is enabled, from \ffenabled.
public bool? OwnHelp { get; set; } #Whether custom help text is used, from \ffownhelp.
public bool? OwnStatus { get; set; } #Whether custom status text is used, from \ffownstat.
public bool? Protected { get; set; } #Whether the field is protected, from \ffprot.
public bool? RecalculateOnExit { get; set; } #Whether field recalculation is requested, from \ffrecalc.
public int? CheckBoxSizeHalfPoints { get; set; } #Check-box size in half-points from \ffhps.
public int? DefaultResult { get; set; } #Default numeric result from \ffdefres.