TX Text Control .NET Server

Size Property

Property|Introduced in 33.0
Namespace
TXTextControl.Drawing
Package
TXTextControl.TextControl.Core.SDK as TXDrawing.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as TXDrawing.dll

Description

Gets or sets the size of the canvas.

Syntax

public Size Size { get; set; }

Examples

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}");