The EndDraw Method is available in LEADTOOLS Document and Medical Imaging toolkits.
- graphics
- The Graphics surface on which to draw this AnnObject.
- gstate
- The System.Drawing.Drawing2D.GraphicsState obtained from BeginDraw.
Visual Basic (Declaration) | |
---|---|
Protected Overridable Sub EndDraw( _ ByVal graphics As Graphics, _ ByVal gstate As GraphicsState _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As AnnObject Dim graphics As Graphics Dim gstate As GraphicsState instance.EndDraw(graphics, gstate) |
C# | |
---|---|
protected virtual void EndDraw( Graphics graphics, GraphicsState gstate ) |
C++/CLI | |
---|---|
protected: virtual void EndDraw( Graphics^ graphics, GraphicsState^ gstate ) |
Parameters
- graphics
- The Graphics surface on which to draw this AnnObject.
- gstate
- The System.Drawing.Drawing2D.GraphicsState obtained from BeginDraw.
This method is called internally by the annotation framework whenever the AnnObject.Draw method is called. You do not need to call this method directly.
Derived classes that call this method must call this method after all drawing operation is over passing the System.Drawing.Drawing2D.GraphicsState value returned from BeginDraw.
Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7