LEADTOOLS Annotations (Leadtools.Annotations assembly)

AnnGetGraphicsPathMode Enumeration

Show in webframe





Indicates which type of graphics path to return. Used with the AnnObject.GetGraphicsPath method.
Syntax
'Declaration
 
<SerializableAttribute()>
Public Enum AnnGetGraphicsPathMode 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As AnnGetGraphicsPathMode

            

            
[SerializableAttribute()]
public enum class AnnGetGraphicsPathMode : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
ValueMemberDescription
0x00000000DrawObjectAnnObject.GetGraphicsPath is called to draw the object. An AnnObject derived object should return the path as it is to be displayed on the screen.
0x00000001HitTestAnnObject.GetGraphicsPath is called to perform hit-testing on the object. An AnnObject derived object can optimize the path returned to speed up hit-testing. For example, an object that has text in it can return a path that contains the bounding rectangle of this text instead of the vectorized text. This will greatly enhance the performance of the hit-testing operation.
0x00000002BoundAnnObject.GetGraphicsPath is called to determine the bounding rectangle of the object. An AnnObject derived object can optimize the path returned to speed up calculating the bounding rectangle. For example, an object that has text in it can return a path that contains the bounding rectangle of this text instead of the vectorized text to greatly enhance the performance.
0x00000003RunModeAnnObject.GetGraphicsPath is called when the object is drawn in run mode. An AnnObject derived object can use this mode to draw the object in a special way during run mode.
0x00000004BackgroundBrushAnnObject.GetGraphicsPath is called when the background of the object is being drawnmode. An AnnObject derived object can use this mode to draw the background of the object in a special way.
Example
For more information and an example, refer to Implement User Defined Objects with LEADTOOLS Annotations.
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Annotations.AnnGetGraphicsPathMode

Requirements

Target Platforms

See Also

Reference

Leadtools.Annotations Namespace

 

 


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