Draws this AnnObject on the specified surface.
protected virtual void DrawObject(
Graphics graphics
)
Protected Overridable Sub DrawObject( _
ByVal graphics As Graphics _
)
protected:
virtual void DrawObject(
Graphics^ graphics
)
graphics
The Graphics surface on which to draw this AnnObject.
This method is called internally by the annotation framework whenever the Draw method is called. You do not need to call this method directly.
If an object is invisible (Visible is set to false), it will not draw itself.
By default, this method will draw the same graphics path returned from the GetGraphicsPath method when the AnnGetGraphicsPathMode is set to DrawObject. For simple objects such as lines and rectangles, this is sufficient. More complex objects that contain elements that either cannot be expressed by a graphics path (such as images) or elements that are too expensive to be expressed by a path (such as text) override this method to draw the object directly.
This method has the following logic:
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