Select Method
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Selects the paragraph. The paragraph break characters bounding the paragraph are not selected.
Syntax
public void Select();Public Sub [Select]()Examples
The following example examines the first paragraph in a short document by using Paragraph.Select.
textControl.Text = "Quarterly results\nRevenue increased by 12%.";
Paragraph paragraph = textControl.Paragraphs[1];
paragraph.Select();
Console.WriteLine("Paragraph is ready for use.");textControl.Text = "Quarterly results" & vbCrLf & "Revenue increased by 12%."
Dim paragraph As Paragraph = textControl.Paragraphs(1)
paragraph.Select()
Console.WriteLine("Paragraph is ready for use.")