TXDrawingCore Constructor
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.asTextControl. Core. SDK TXDrawing.from the private NuGet feed or Text Control Offline Packagesdll
- Also in
TXTextControl.asTextControl. ASP. SDK TXDrawing.dll
Description
Initializes a new instance of the TXDrawingCore class.
Syntax
TXDrawingCore()
Initializes a new instance of the TXDrawingCore class with a canvas size of 1134 x 1134 twips.
public TXDrawingCore();Public Sub New()TXDrawingCore(int, int)
Initializes a new instance of the TXDrawingCore class with a specific canvas size.
public TXDrawingCore(int width, int height);Public Sub New(width As Integer, height As Integer)| Parameter | Description |
|---|---|
| width | The width of the canvas in twips. |
| height | The height of the canvas in twips. |
Examples
The following example creates a TXDrawing Core instance and configures its back color setting for a document workflow.
TXTextControl.Drawing.TXDrawingCore tXDrawingCore = new();
tXDrawingCore.BackColor = System.Drawing.Color.LightSteelBlue;Dim tXDrawingCore As New TXTextControl.Drawing.TXDrawingCore()
tXDrawingCore.BackColor = System.Drawing.Color.LightSteelBlue