Visual Basic (Declaration) | |
---|---|
Protected Overridable Function BeginDraw( _ ByVal graphics As Graphics _ ) As GraphicsState |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
protected virtual GraphicsState BeginDraw( Graphics graphics ) |
Managed Extensions for C++ | |
---|---|
protected: virtual GraphicsState BeginDraw( Graphics graphics ) |
C++/CLI | |
---|---|
protected: virtual GraphicsState BeginDraw( Graphics graphics ) |
Parameters
- graphics
- The Graphics surface on which to draw this AnnObject.
Return Value
A GraphicsState object if this AnnObject is visible; null (Nothing in Visual Basic) otherwise.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 GraphicsState value returned from this method.
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