LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
AnnGetGraphicsPathMode Enumeration
See Also  
Leadtools.Annotations Namespace : AnnGetGraphicsPathMode Enumeration



The AnnGetGraphicsPathMode Enumeration is available in LEADTOOLS Document and Medical Imaging toolkits.

Indicates which type of graphics path to return. Used with the AnnObject.GetGraphicsPath method.

Syntax

Visual Basic (Declaration) 
<SerializableAttribute()>
Public Enum AnnGetGraphicsPathMode 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As AnnGetGraphicsPathMode
C# 
[SerializableAttribute()]
public enum AnnGetGraphicsPathMode : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
[SerializableAttribute()]
public enum class AnnGetGraphicsPathMode : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
BackgroundBrushAnnObject.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.
BoundAnnObject.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.
DrawObjectAnnObject.GetGraphicsPath is called to draw the object. An AnnObject derived object should return the path as it is to be displayed on the screen.
HitTestAnnObject.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.
RunModeAnnObject.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.

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: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features