TX Text Control .NET Server

CanFitToCanvas Property

Property|Introduced in 23.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 a value which indicates whether the FitToCanvas method can be used or not.

Syntax

public bool CanFitToCanvas { get; }

Examples

The following example checks can fit to canvas before performing the related operation.

if (shape.CanFitToCanvas)
{
    shape.FitToCanvas();
}

Limitations

Read only.