Leadtools.Annotations Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.10.31
EndDraw Method
See Also 
Leadtools.Annotations Namespace > AnnObject Class : EndDraw Method




graphics
The Graphics surface on which to draw this AnnObject.
gstate
The GraphicsState obtained from BeginDraw.
Called by the Draw method to reset the graphics transformation.

Syntax

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
)
Managed Extensions for 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 GraphicsState obtained from BeginDraw.

Remarks

This method is called internally by the annotation framework whenever the 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 GraphicsState value returned from BeginDraw.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

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