Text Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesCore. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.dll
Description
Gets the line's text.
Syntax
public string Text { get; }Public ReadOnly Property Text As StringExamples
The following example examines the first line in a short document by using Line.Text.
textControl.Text = "Quarterly results\nRevenue increased by 12%.";
Line line = textControl.Lines[1];
Console.WriteLine($"Text: {line.Text}");
Console.WriteLine("Line is ready for use.");textControl.Text = "Quarterly results" & vbCrLf & "Revenue increased by 12%."
Dim line As Line = textControl.Lines(1)
Console.WriteLine($"Text: {line.Text}")
Console.WriteLine("Line is ready for use.")Limitations
Read only.