TX Text Control .NET for Windows Forms

DrawingMarkerLines Property

Property|Introduced in 23.0
Namespace
TXTextControl
Package
TXTextControl.TextControl.WinForms.SDK as TXTextControl.Windows.Forms.dll from the private NuGet feed or Text Control Offline Packages

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 XAML example shows how to bind the DrawingMarkerLines property to a check box.

<CheckBox
   Content="Show drawing marker lines"
   IsChecked="{Binding ElementName=textControl1, Path=DrawingMarkerLines}" />

The following example uses TextControl.DrawingMarkerLines to configure drawing marker lines as part of the text control workflow. The change is then applied to the active document or user interface.

textControl.DrawingMarkerLines = true;
textControl.Update();