The Draw Method is available in LEADTOOLS Document and Medical Imaging toolkits.
- graphics
- The Graphics surface on which to draw this AnnObject.
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnObject Dim graphics As Graphics instance.Draw(graphics) |
Parameters
- graphics
- The Graphics surface on which to draw this AnnObject.
This method is called internally by the annotation framework whenever the Draw(Graphics) of the owner container of this AnnObject 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.
This method will call AnnObject.DrawObject first to draw the object itself, DrawName to draw the name of the object and then finally DrawLocked to draw the locked object (if the object is currently locked).
Derived annotation objects are not encouraged to override this method directly. Instead override AnnObject.DrawObject, DrawName and DrawLocked individually.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7