TX Text Control .NET Server

TextParts Property

Property|Introduced in 22.0
Namespace
TXTextControl.Web
Package
None: the TX Text Control .NET Server setup installs it, for .NET Framework.
Assembly
TXTextControl.Web.dll

Description

Gets a collection of all text parts the current document contains. The property's value is an object of the type Web.TextPartCollection. A text part can be the main text, a text frame or a header or footer.

Syntax

public Web.TextPartCollection TextParts { get; }

Examples

TextParts belonged to the older server-control surface. In the current ASP.NET Core integration, use TextControlSettings.TextFieldsEditable for the corresponding editor configuration.

textControlSettings.TextFieldsEditable = true;
if (textControlSettings.TextFieldsEditable)
{
    Console.WriteLine("Text Fields Editable is enabled for Text Control Settings.");
}

Limitations

Runtime only.

Read only.