Sizeable Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Determines whether the frame can be resized at run time with the built-in mouse interface.
Syntax
public bool Sizeable { get; set; }Public Property Sizeable As BooleanExamples
The following example adds a callout frame and works with it through the common frame API by using FrameBase.Sizeable.
TextFrame callout = new(new System.Drawing.Size(3000, 1200)) { Name = "Callout" };
textControl.TextFrames.Add(callout, TextFrameInsertionMode.DisplaceText);
FrameBase frameBase = callout;
frameBase.Sizeable = true;
if (frameBase.Sizeable)
{
Console.WriteLine("Frame Base: Sizeable is enabled.");
}Dim callout As New TextFrame(New System.Drawing.Size(3000, 1200)) With { .Name = "Callout" }
textControl.TextFrames.Add(callout, TextFrameInsertionMode.DisplaceText)
Dim frameBase As FrameBase = callout
frameBase.Sizeable = True
If frameBase.Sizeable Then
Console.WriteLine("Frame Base: Sizeable is enabled.")
End If