EditableRegions 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 editable regions in the text frame. The property's value is an object of the type EditableRegionCollection.
Syntax
public EditableRegionCollection EditableRegions { get; }Public ReadOnly Property EditableRegions As EditableRegionCollectionExamples
The following example applies bold formatting through the text frame's selection by using TextFrame.EditableRegions.
Selection formattedSelection = textFrame.Selection;
formattedSelection.Bold = true;
textFrame.Selection = formattedSelection;
foreach (EditableRegion editableRegion in textFrame.EditableRegions)
{
Console.WriteLine(editableRegion.HighlightMode);
}Dim formattedSelection As Selection = textFrame.Selection
formattedSelection.Bold = True
textFrame.Selection = formattedSelection
For Each editableRegion As EditableRegion In textFrame.EditableRegions
Console.WriteLine(editableRegion.HighlightMode)
NextLimitations
Read only.