Options for controlling the fixed state of an annotation object
[FlagsAttribute()]
public enum AnnFixedStateOperations
Public Enum AnnFixedStateOperations
public enum AnnFixedStateOperations
typedef enum LTAnnFixedStateOperations
public enum AnnFixedStateOperations
Leadtools.Annotations.Core.AnnFixedStateOperations = function() { };
Leadtools.Annotations.Core.AnnFixedStateOperations.prototype = {
None = 0x00000000,
Scrolling = 0x00000001,
Zooming = 0x00000002,
FontSize = 0x00000004,
StrokeWidth = 0x00000008,
LengthValue = 0x00000010,
};
public:
[FlagsAttribute]
enum class AnnFixedStateOperations sealed
Members
Value | Member | Description |
---|---|---|
0x00000000 | None | The object is not fixed. The object will move and scale accordingly when the container scrolls or zooms. |
0x00000001 | Scrolling | The object location is fixed. The object will only scale when the container scrolls or zooms but will not change position. |
0x00000002 | Zooming | The object size is fixed. The object will only move when the container scrolls or zooms but will not scale. |
0x00000004 | 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. |
0x00000008 | StrokeWidth | Fix the stroke 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. |
0x00000010 | LengthValue | Fix the length part of the annotation object. For example, the ruler object will draw the tick marks as fixed if LengthValue was specified as part of the object's fixed operations (default). |
The LEADTOOLS Annotation toolkit supports fixing the object size and location when the container zooms or scrolls. To fix an object, change the AnnObject.FixedStateOperations property from the default AnnFixedStateOperations.None to the desired state.
You can combine members of this enumeration together using a logical OR operation.
For more information on fixed annotation objects, refer to Fixed Annotations.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET