InputPosition Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. Core. SDK TXTextControl.from the private NuGet feed or Text Control Offline PackagesServer. Core. dll
- Also in
TXTextControl.asTextControl. ASP. SDK TXTextControl.Server. dll
Description
Gets or sets the current text input position. The property's value is an object of the type InputPosition.
Syntax
public InputPosition InputPosition { get; set; }Public Property InputPosition As InputPositionExamples
The following example moves the insertion point to the end of the document before appending an approval line.
textControl.Text = "Quarterly results";
textControl.InputPosition = new InputPosition(textControl.Text.Length);
textControl.Selection.Text = "\nApproved";textControl.Text = "Quarterly results"
textControl.InputPosition = New InputPosition(textControl.Text.Length)
textControl.Selection.Text = vbCrLf & "Approved"Limitations
Runtime only.