TX Text Control .NET Server

Moveable Property

Property
Namespace
TXTextControl
Package
TXTextControl.TextControl.Core.SDK as TXTextControl.Core.dll from the private NuGet feed or Text Control Offline Packages
Also in
TXTextControl.TextControl.ASP.SDK as 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; }

Examples

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.");
}