CanFitToCanvas Property
- Namespace
TXTextControl.Drawing
- Package
TXTextControl.asTextControl. WPF. SDK TXDrawing.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets a value which indicates whether the FitToCanvas method can be used or not.
Syntax
public bool CanFitToCanvas { get; }Public ReadOnly Property CanFitToCanvas As BooleanExamples
The following example checks can fit to canvas before performing the related operation.
if (shape.CanFitToCanvas)
{
shape.FitToCanvas();
}If shape.CanFitToCanvas Then
shape.FitToCanvas()
End IfLimitations
Read only.