SelectObjects Property
- Namespace
TXTextControl.ServerVisualisation
- 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 a value controlling the selection of objects which are inserted behind the text. When the property is set to true, a mouse click selects the object behind the text. Otherwise, when this property is set to false, text in front of the object can be selected.
Syntax
public bool SelectObjects { get; set; }Public Property SelectObjects As BooleanExamples
The following example applies bold formatting through the text view generator's selection by using TextViewGenerator.SelectObjects.
Selection formattedSelection = textViewGenerator.Selection;
formattedSelection.Bold = true;
textViewGenerator.Selection = formattedSelection;
textViewGenerator.SelectObjects = true;
if (textViewGenerator.SelectObjects)
{
Console.WriteLine("Text View Generator: Select Objects is enabled.");
}Dim formattedSelection As Selection = textViewGenerator.Selection
formattedSelection.Bold = True
textViewGenerator.Selection = formattedSelection
textViewGenerator.SelectObjects = True
If textViewGenerator.SelectObjects Then
Console.WriteLine("Text View Generator: Select Objects is enabled.")
End If