LEADTOOLS JavaScript (Leadtools.Annotations.Core)

AnnFixedStateOperations Enumeration

Show in webframe
Options for controlling the fixed state of an annotation object
Syntax
Leadtools.Annotations.Core.AnnFixedStateOperations = function() { };
Leadtools.Annotations.Core.AnnFixedStateOperations.prototype = {
none = 0, scrolling = 1, zooming = 2, fontSize = 4, strokeWidth = 8, lengthValue = 16, };
Members
ValueMemberDescription
0noneThe object is not fixed. The object will move and scale accordingly when the container scrolls or zooms.
1scrollingThe object location is fixed. The object will only scale when the container scrolls or zooms but will not change position.
2zoomingThe object size is fixed. The object will only move when the container scrolls or zooms but will not scale.
4fontSizeFix 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.
8strokeWidthFix 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.
16lengthValueFix 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).
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.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.

See Also

Reference

Leadtools.Annotations.Core Namespace

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.