ID Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets or sets an identifier for the document target. This identifier can be used to uniquely identify the target.
Syntax
public int ID { get; set; }Public Property ID As IntegerExamples
The following example creates a named destination for an internal document link by using DocumentTarget.ID.
DocumentTarget documentTarget = new("CustomerDetails");
textControl.DocumentTargets.Add(documentTarget);
documentTarget.ID = 100;
Console.WriteLine($"ID used by Document Target: {documentTarget.ID}");Dim documentTarget As New DocumentTarget("CustomerDetails")
textControl.DocumentTargets.Add(documentTarget)
documentTarget.ID = 100
Console.WriteLine($"ID used by Document Target: {documentTarget.ID}")