TextParts Property
- 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; }Public ReadOnly Property TextParts() As Web.TextPartCollectionExamples
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.");
}textControlSettings.TextFieldsEditable = True
If textControlSettings.TextFieldsEditable Then
Console.WriteLine("Text Fields Editable is enabled for Text Control Settings.")
End IfLimitations
Runtime only.
Read only.