Limitations
Read only.
Returns true, if the target's position is the same as the current text input position.
Introduced: X12.
public bool ContainsInputPosition { get; }
Public ReadOnly Property ContainsInputPosition() As Boolean
The following example shows how to create a Document
//Create DocumentTarget
TXTextControl.DocumentTarget newTarget = new TXTextControl.DocumentTarget("Page1");
//Add newTarget to textControl1 DocumentTarget Collection
textControl1.DocumentTargets.Add(newTarget);
// Dsplay DocumentTarget properties in a textbox
textBox1.Text = "*** Begin Test " + System.DateTime.Now + " ***" + Environment.NewLine + Environment.NewLine +
"<<< Bounds property >>>" + Environment.NewLine +
"The X Coordinate is: " + newTarget.Bounds.X + Environment.NewLine +
"The Y Coordinate is: " + newTarget.Bounds.Y + Environment.NewLine +
"The Width is: " + newTarget.Bounds.Width + Environment.NewLine +
"The Height is: " + newTarget.Bounds.Height + Environment.NewLine +
"The Left value is: " + newTarget.Bounds.Left + Environment.NewLine +
"The Right value is: " + newTarget.Bounds.Right + Environment.NewLine +
"The Bottom value is: " + newTarget.Bounds.Bottom + Environment.NewLine +
"The Top value is: " + newTarget.Bounds.Top + Environment.NewLine +
"The Is Empty value is: " + newTarget.Bounds.IsEmpty + Environment.NewLine +
"The Size is: " + newTarget.Bounds.Size + Environment.NewLine +
"The Location value is: " + newTarget.Bounds.Location" + Environment.NewLine +
"<<< ContainsInputPosition property >>>" + Environment.NewLine +
"The ContainsInputPosition value is: " +
newTarget.ContainsInputPosition;
Private Sub SurroundingSub()
Dim newTarget As TXTextControl.DocumentTarget = New TXTextControl.DocumentTarget("Page1")
textControl1.DocumentTargets.Add(newTarget)
textBox1.Text = "*** Begin Test " & System.DateTime.Now & " ***" & Environment.NewLine + Environment.NewLine & "<<< Bounds property >>>" + Environment.NewLine & "The X Coordinate is: " + newTarget.Bounds.X + Environment.NewLine & "The Y Coordinate is: " + newTarget.Bounds.Y + Environment.NewLine & "The Width is: " + newTarget.Bounds.Width + Environment.NewLine & "The Height is: " + newTarget.Bounds.Height + Environment.NewLine & "The Left value is: " + newTarget.Bounds.Left + Environment.NewLine & "The Right value is: " + newTarget.Bounds.Right + Environment.NewLine & "The Bottom value is: " + newTarget.Bounds.Bottom + Environment.NewLine & "The Top value is: " + newTarget.Bounds.Top + Environment.NewLine & "The Is Empty value is: " + newTarget.Bounds.IsEmpty + Environment.NewLine & "The Size is: " + newTarget.Bounds.Size + Environment.NewLine & "The Location value is: " + newTarget.Bounds.Location
" + Environment.NewLine +"
"<<< ContainsInputPosition property >>>" & Environment.NewLine & "The ContainsInputPosition value is: " + newTarget.ContainsInputPosition
End Sub
Read only.