TX Text Control .NET Server

Size Property

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

Description

Gets the size of the shape, in pixels.

Syntax

public Size Size { get; }

Examples

The following example includes the size value in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Size: {drawShapeEventArgs.Size}");
Console.WriteLine("Draw Shape Event Args is ready for use.");

Limitations

Read only.