Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
MoveObjectWithName Property
See Also 
Leadtools.Annotations Namespace > AnnAutomationManager Class : MoveObjectWithName Property



Gets or sets a value indicating whether to move the object when the name moves.

Syntax

Visual Basic (Declaration) 
Public Property MoveObjectWithName As Boolean
Visual Basic (Usage)Copy Code
Dim instance As AnnAutomationManager
Dim value As Boolean
 
instance.MoveObjectWithName = value
 
value = instance.MoveObjectWithName
C# 
public bool MoveObjectWithName {get; set;}
C++/CLI 
public:
property bool MoveObjectWithName {
   bool get();
   void set (bool value);
}

Return Value

true if the object should move when the user moves the name; otherwise, false.

Remarks

When an AnnObject with a visible name is being edited, the user can move the name by clicking and dragging with the mouse. This movement is independant of the object if the value of MoveObjectWithName is set to the default value of false. If MoveObjectWithName is set to true, the object will move along with the name.

The value of MoveObjectWithName is set in the AnnEditDesigner.MoveObjectWithName when automation mode is used.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features