Indicates which type of graphics path to return. Used with the AnnObject.GetGraphicsPath method.
[SerializableAttribute()]
public enum AnnGetGraphicsPathMode : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
<SerializableAttribute()>
Public Enum AnnGetGraphicsPathMode
Inherits System.Enum
Implements System.IComparable, System.IConvertible, System.IFormattable
[SerializableAttribute()]
public enum class AnnGetGraphicsPathMode : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Members
Value | Member | Description |
---|---|---|
0 | 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. |
1 | 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. |
2 | 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. |
3 | 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. |
4 | BackgroundBrush | AnnObject.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. |
For more information and an example, refer to Implement User Defined Objects with LEADTOOLS Annotations (Deprecated).
Products |
Support |
Feedback: AnnGetGraphicsPathMode Enumeration - Leadtools.Annotations |
Introduction |
Help Version 19.0.2017.6.20
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.