TX Text Control .NET for Windows Forms Documentation

InputPosition Constructor

Initializes a new instance of the InputPosition class. The first constructor creates a new input position from a page, line and column number, the second and third from a text position and the fourth from a geometric location.

Syntax

[C#] public InputPosition(int page, int line, int column); public InputPosition(int textPosition); public InputPosition(int textPosition, TextFieldPosition textFieldPosition); public InputPosition(Point location);
[Visual Basic] Public Sub New(ByVal page As Integer, ByVal line As Integer, ByVal column As Integer) Public Sub New(ByVal textPosition As Integer) Public Sub New(ByVal textPosition As Integer, ByVal textFieldPosition As TextFieldPosition) Public Sub New(ByVal location As Point)
ParameterDescription
page

Specifies a page number.

line

Specifies a line number.

column

Specifies a column number. The first column is zero.

textPosition

Specifies a text position. The first position is zero.

textFieldPosition

If the textPosition parameter is a position at the beginning or at the end of a TextField with a doubled input position, this parameter can be used to define whether the position is inside or outside the field. It can be one of the following TextFieldPosition values:


ValueMeaning
InsideTextFieldThe specified position is inside the field.
OutsideTextFieldThe specified position is outside the field.
InsideNextTextFieldThe specified position is inside the next field. This value is only possible, if there are two following text fields without any character bewteen the fields. In this case InsideTextField is in the first field, OutsideTextField is between the fields and InsideNextTextField is in the second field.
location

Specifies a geometric location. The point must be specified in pixels with an origin at the top left corner of the control.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now