FormFields Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Gets a collection of all form fields contained in a text frame. The property's value is an object of the type FormFieldCollection.
Syntax
public FormFieldCollection FormFields { get; }Public ReadOnly Property FormFields As FormFieldCollectionExamples
The following example applies bold formatting through the text frame's selection by using TextFrame.FormFields.
Selection formattedSelection = textFrame.Selection;
formattedSelection.Bold = true;
textFrame.Selection = formattedSelection;
foreach (FormField formField in textFrame.FormFields)
{
formField.DescriptiveText = "Quarterly results";
}Dim formattedSelection As Selection = textFrame.Selection
formattedSelection.Bold = True
textFrame.Selection = formattedSelection
For Each formField As FormField In textFrame.FormFields
formField.DescriptiveText = "Quarterly results"
NextLimitations
Read only.