Options for controlling the fixed state of an annotation object
lt.Annotations.Engine.AnnFixedStateOperations = {
none: 0x00000000,
scrolling: 0x00000001,
zooming: 0x00000002,
fontSize: 0x00000004,
strokeWidth: 0x00000008,
lengthValue: 0x00000010
}
lt.Annotations.Engine.AnnFixedStateOperations = {
none: 0x00000000,
scrolling: 0x00000001,
zooming: 0x00000002,
fontSize: 0x00000004,
strokeWidth: 0x00000008,
lengthValue: 0x00000010
}
0x00000000 | None |
(0)The object is not fixed. The object will move and scale accordingly when the container scrolls or zooms. |
0x00000001 | Scrolling |
(1)The object location is fixed. The object will only scale when the container scrolls or zooms but will not change position. |
0x00000002 | Zooming |
(2)The object size is fixed. The object will only move when the container scrolls or zooms but will not scale. |
0x00000004 | FontSize |
(4)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 |
(8)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 |
(16)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 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.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document