LEADTOOLS Annotations (Leadtools.Annotations assembly)
LEAD Technologies, Inc

BeginDraw Method






The Graphics surface on which to draw this AnnObject.
Called by the Draw method to set up the object's PhysicalTransform matrix into the g graphics surface.
Syntax
protected virtual GraphicsState BeginDraw( 
   Graphics graphics
)
'Declaration
 
Protected Overridable Function BeginDraw( _
   ByVal graphics As Graphics _
) As GraphicsState
'Usage
 
Dim instance As AnnObject
Dim graphics As Graphics
Dim value As GraphicsState
 
value = instance.BeginDraw(graphics)
protected virtual GraphicsState BeginDraw( 
   Graphics graphics
)
 function Leadtools.Annotations.AnnObject.BeginDraw( 
   graphics 
)
protected:
virtual GraphicsState^ BeginDraw( 
   Graphics^ graphics
) 

Parameters

graphics
The Graphics surface on which to draw this AnnObject.

Return Value

A System.Drawing.Drawing2D.GraphicsState object if this AnnObject is visible; null (Nothing in Visual Basic) otherwise.
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 EndDraw after all drawing operation is over passing the System.Drawing.Drawing2D.GraphicsState value returned from this method.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AnnObject Class
AnnObject Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.