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