LEADTOOLS Annotations (Leadtools.Annotations assembly)

BeginDraw Method

Show in webframe





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
) 

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

See Also

Reference

AnnObject Class
AnnObject Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.