←Select platform

AnnFixedStateOperations Enumeration

Summary

Options for controlling the fixed state of an annotation object

Syntax

C#
VB
C++
[FlagsAttribute()] 
public enum AnnFixedStateOperations 
  
<FlagsAttribute()> 
Public Enum AnnFixedStateOperations  
   Inherits System.Enum 
   Implements System.IComparable, System.IConvertible, System.IFormattable  
[FlagsAttribute()] 
public enum class AnnFixedStateOperations : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable   

Members

ValueMemberDescription
0x00000000None

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

0x00000001Scrolling

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

0x00000002Zooming

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

0x00000004FontSize

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.

0x00000008PenWidth

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.

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 VB).

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

Example

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

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Windows.Annotations Assembly