Leadtools.Annotations Namespace > AnnObject Class : BeginDraw Method |
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 )
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.