Length Property
- Namespace
TXTextControl.DocumentServer. Fields
- Package
TXTextControl.asTextControl. WPF. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets the number of characters in a text field through its adapter.
Syntax
public int Length { get; }Public ReadOnly Property Length As IntegerExamples
The following example includes the length value in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Length: {fieldAdapter.Length}");
Console.WriteLine("Field Adapter is ready for use.");Console.WriteLine($"Length: {fieldAdapter.Length}")
Console.WriteLine("Field Adapter is ready for use.")Limitations
Read only.