Size Property
- 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
Gets or sets the size of the canvas.
Syntax
public Size Size { get; set; }Public Property Size As SizeExamples
The following example uses TXDrawingCore.Size to configure size as part of the txdrawing core workflow. The configured value is checked before the workflow continues.
tXDrawingCore.Size = new System.Drawing.Size(600, 400);
Console.WriteLine($"Size used by TXDrawing Core: {tXDrawingCore.Size}");tXDrawingCore.Size = New System.Drawing.Size(600, 400)
Console.WriteLine($"Size used by TXDrawing Core: {tXDrawingCore.Size}")