LEADTOOLS Annotations for WPF and Silverlight (Leadtools.Windows.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.31
AnnFixedStateOperations Enumeration
See Also  
Leadtools.Windows.Annotations Namespace : AnnFixedStateOperations Enumeration



The AnnFixedStateOperations Enumeration supports WPF/Silverlight.

The AnnFixedStateOperations Enumeration is available in LEADTOOLS Document and Medical Imaging toolkits.

Options for controlling the fixed state of an annotation object Supported in Silverlight, Windows Phone 7

Syntax

Visual Basic (Declaration) 
<FlagsAttribute()>
Public Enum AnnFixedStateOperations 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As AnnFixedStateOperations
C# 
[FlagsAttribute()]
public enum AnnFixedStateOperations : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
[FlagsAttribute()]
public enum class AnnFixedStateOperations : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
FontSize

Fix the font size of the annotation object. Any text that is part of this object will be drawn using its original point value regardless of the current container scale value.

None

The object is not fixed. The object will move and scales accordingly when the container scrolls or zooms.

PenWidth

Fix the pen size of the annotation object. Any line that is part of this object will be drawn using its original pixel size regardless of the current container scale value.

Scrolling

The object location is fixed. The object will only scale when the container scrolls or zooms but will not change position.

Zooming

The object size is fixed. The object will only move when the container scrolls or zooms but will not scale.

Example

For C#/VB examples, refer to AnnObject.FixedState.

Remarks

The LEADTOOLS Annotation toolkit supports fixing the object size and location when the container zooms or scrolls. To fix an object, change the AnnObject.FixedState property from the default AnnFixedStateOperations.None to the desired state.

You can combine members of this enumeration together using a logical or operation (| in C# or OR in Visual Basic).

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

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Windows.Annotations.AnnFixedStateOperations

Requirements

Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)

See Also

AnnFixedStateOperations requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.