Select Method
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WinForms. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Selects the text of the page. The page break characters bounding the page and the header and/or footer belonging to the page are not selected.
Syntax
public void Select();Public Sub [Select]()Examples
The following example works with the first laid-out page of a short report by using Page.Select.
textControl.Text = "Quarterly results\nRevenue increased by 12%.";
Page page = textControl.GetPages()[1];
page.Select();
Console.WriteLine("Page is ready for use.");textControl.Text = "Quarterly results" & vbCrLf & "Revenue increased by 12%."
Dim page As Page = textControl.GetPages().Item(1)
page.Select()
Console.WriteLine("Page is ready for use.")