ContainsInputPosition Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Returns true, if the Textfield contains the current text input position.
Syntax
public bool ContainsInputPosition { get; }Public ReadOnly Property ContainsInputPosition As BooleanExamples
The following example inserts a Word-compatible text field into a template by using TextField.ContainsInputPosition.
TextField textField = new ApplicationField(ApplicationFieldFormat.MSWord, "MERGEFIELD", "Customer name", new[] { "CustomerName" });
textControl.TextFields.Add(textField);
if (textField.ContainsInputPosition)
{
Console.WriteLine("Text Field is ready for this operation.");
}Dim textField As TextField = New ApplicationField(ApplicationFieldFormat.MSWord, "MERGEFIELD", "Customer name", New String() { "CustomerName" })
textControl.TextFields.Add(textField)
If textField.ContainsInputPosition Then
Console.WriteLine("Text Field is ready for this operation.")
End IfLimitations
Read only.