TX Text Control .NET Server

Length Property

Property|Introduced in 15.0
Namespace
TXTextControl.DocumentServer.Fields
Package
TXTextControl.TextControl.Core.SDK as TXDocumentServer.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXDocumentServer.dll

Description

Gets the number of characters in a text field through its adapter.

Syntax

public int Length { get; }

Examples

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.");

Limitations

Read only.