Class GraphicsEventArgs
Provides data for the PrepareGraphics event of a GraphicsProvider instance.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Syncfusion.Drawing
Assembly: Syncfusion.Shared.Base.dll
Syntax
public class GraphicsEventArgs : SyncfusionEventArgs
Remarks
The event lets you apply custom settings for the Graphics object, before other routines draw to the object.
Constructors
GraphicsEventArgs()
Initializes a new empty GraphicsEventArgs.
Declaration
public GraphicsEventArgs()
GraphicsEventArgs(Graphics)
Initializes a new GraphicsEventArgs with a Graphics object.
Declaration
public GraphicsEventArgs(Graphics graphics)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | graphics | The graphics object. |
Fields
Empty
Declaration
public static readonly GraphicsEventArgs Empty
Field Value
Type |
---|
GraphicsEventArgs |
Properties
Graphics
Returns the window graphics object.
Declaration
public Graphics Graphics { get; }
Property Value
Type |
---|
System.Drawing.Graphics |