TX Text Control .NET for Windows Forms

TXDrawingControl Constructor

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

Description

Initializes a new instance of the TXDrawingControl class.

Syntax

TXDrawingControl()

Initializes a new instance of the TXDrawingControl class.

public TXDrawingControl();

TXDrawingControl(int, int)

public TXDrawingControl(int width, int height);

Examples

The following example creates a TXDrawing Control instance and configures its back color setting for a document workflow.

using TXTextControl.Drawing.TXDrawingControl tXDrawingControl = new();
tXDrawingControl.BackColor = System.Drawing.Color.LightSteelBlue;