←Select platform

BeginDraw Method

Summary

Called by the Draw method to set up the object's PhysicalTransform matrix into the g graphics surface.

Syntax

C#
VB
C++
protected virtual GraphicsState BeginDraw( 
   Graphics graphics 
) 
  
Protected Overridable Function BeginDraw( _ 
   ByVal graphics As Graphics _ 
) As GraphicsState 
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 VB) 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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations Assembly