LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
SetFixedState Method
See Also 
Leadtools.Annotations Namespace > AnnGroupObject Class : SetFixedState Method



fixedState
true to make the AnnObject fixed; false to allow it to move freely
adjust
true to automatically adjust the AnnObject when changing the fixed state; false to have no adjusting performed.

The SetFixedState Method is available in LEADTOOLS Document and Medical Imaging toolkits.

fixedState
true to make the AnnObject fixed; false to allow it to move freely
adjust
true to automatically adjust the AnnObject when changing the fixed state; false to have no adjusting performed.
The AnnGroupObject implementation of AnnObject.SetFixedState.

Syntax

Visual Basic (Declaration) 
Overrides Public Sub SetFixedState( _
   ByVal fixedState As Boolean, _
   ByVal adjust As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnGroupObject
Dim fixedState As Boolean
Dim adjust As Boolean
 
instance.SetFixedState(fixedState, adjust)
C# 
public override void SetFixedState( 
   bool fixedState,
   bool adjust
)
C++/CLI 
public:
void SetFixedState( 
   bool fixedState,
   bool adjust
) override 

Parameters

fixedState
true to make the AnnObject fixed; false to allow it to move freely
adjust
true to automatically adjust the AnnObject when changing the fixed state; false to have no adjusting performed.

Example

For an example, refer to AnnObject.GetFixedState.

Remarks

Sets the fixed state of every AnnObject in the AnnGroupObject. Fixed annotations are independent of the Transform. The result is that they do not scroll or move with the underlying image. For more information, refer to AnnObject.SetFixedState.

For more information on fixed annotation objects, refer to Fixed Annotations.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

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