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 or sets the view's size, in twips.

Syntax

public Size Size { get; set; }

Examples

The following example uses View.Size to configure size as part of the view workflow. The configured value is checked before the workflow continues.

view.Size = new System.Drawing.Size(600, 400);
Console.WriteLine($"Size used by View: {view.Size}");