DocumentTargets Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. dll
Description
Gets a collection of all targets in the document. The property value is an object of the type DocumentTargetCollection.
Syntax
public DocumentTargetCollection DocumentTargets { get; }Public ReadOnly Property DocumentTargets As DocumentTargetCollectionExamples
The following example iterates through the document targets collection and processes each document target.
foreach (DocumentTarget documentTarget in textControl.DocumentTargets)
{
documentTarget.Name = "CustomerName";
}For Each documentTarget As DocumentTarget In textControl.DocumentTargets
documentTarget.Name = "CustomerName"
NextLimitations
Runtime only.
Read only.