TX Text Control .NET Server

DrawingMarkerLines Property

Property|Introduced in 23.0
Namespace
TXTextControl.ServerVisualisation
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Server.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXTextControl.Server.dll

Description

Specifies whether a marker frame is shown around a drawing to indicate its position and size.

Syntax

public bool DrawingMarkerLines { get; set; }

Examples

The following example applies bold formatting through the text view generator's selection by using TextViewGenerator.DrawingMarkerLines.

Selection formattedSelection = textViewGenerator.Selection;
formattedSelection.Bold = true;
textViewGenerator.Selection = formattedSelection;

textViewGenerator.DrawingMarkerLines = true;
if (textViewGenerator.DrawingMarkerLines)
{
    Console.WriteLine("Text View Generator: Drawing Marker Lines is enabled.");
}