TXDrawingControl Constructor
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.asTextControl. WinForms. SDK TXDrawing.from the private NuGet feed or Text Control Offline PackagesWindows. Forms. dll
Description
Initializes a new instance of the TXDrawingControl class.
Syntax
TXDrawingControl()
Initializes a new instance of the TXDrawingControl class.
public TXDrawingControl();Public Sub New()TXDrawingControl(int, int)
public TXDrawingControl(int width, int height);Public Sub New(width As Integer, height As Integer)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;Dim tXDrawingControl As New TXTextControl.Drawing.TXDrawingControl()
tXDrawingControl.BackColor = System.Drawing.Color.LightSteelBlue