Length Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets the number of commented characters.
Syntax
public int Length { get; }Public ReadOnly Property Length As IntegerExamples
The following example attaches a reviewer comment to selected contract text by using CommentedText.Length.
textControl.Text = "Payment is due within 30 days.";
textControl.Select(0, textControl.Text.Length);
CommentedText commentedText = new("Verify the payment term.");
textControl.Comments.Add(commentedText);
textControl.Select(commentedText.Start, commentedText.Length);
Console.WriteLine("Commented Text is ready for use.");textControl.Text = "Payment is due within 30 days."
textControl.Select(0, textControl.Text.Length)
Dim commentedText As New CommentedText("Verify the payment term.")
textControl.Comments.Add(commentedText)
textControl.Select(commentedText.Start, commentedText.Length)
Console.WriteLine("Commented Text is ready for use.")Limitations
Read only.