Gets or sets a GDI+ Graphics object, to be used for drawing purposes.
Reference to the Graphics object
Visual Basic (Declaration) | |
---|---|
Public Property Graphics As Graphics |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public Graphics Graphics {get; set;} |
Return Value
A Graphics object for drawing.
You can use this object property to perform any custom drawing that can be accomplished using GDI+.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family