Visual Basic (Declaration) | |
---|---|
<SerializableAttribute()> Public Enum AnnGetGraphicsPathMode Inherits Enum |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[SerializableAttribute()] public enum AnnGetGraphicsPathMode : Enum |
C++/CLI | |
---|---|
[SerializableAttribute()] public enum class AnnGetGraphicsPathMode : public Enum |
Member | Description |
---|---|
DrawObject | AnnObject.GetGraphicsPath is called to draw the object. An AnnObject derived object should return the path as it is to be displayed on the screen. |
HitTest | AnnObject.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. |
Bound | AnnObject.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. |
RunMode | AnnObject.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. |
For more information and an example, refer to Implement User Defined Objects with LEADTOOLS Annotations.
System.Object
System.ValueType
System.Enum
Leadtools.Annotations.AnnGetGraphicsPathMode
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family