Class FRPaintEventArgs
Provides a data for paint event.
Inheritance
System.Object
FRPaintEventArgs
Namespace: FastReport.Utils
Assembly: FastReport.dll
Syntax
public class FRPaintEventArgs
Constructors
FRPaintEventArgs(IGraphics, Single, Single, GraphicCache)
Initializes a new instance of the FRPaintEventArgs class with specified settings.
Declaration
public FRPaintEventArgs(IGraphics g, float scaleX, float scaleY, GraphicCache cache)
Parameters
| Type | Name | Description |
|---|---|---|
| FastReport.IGraphics | g | IGraphicsRenderer object to draw on. |
| System.Single | scaleX | X scale factor. |
| System.Single | scaleY | Y scale factor. |
| GraphicCache | cache | Cache that contains graphics objects. |
FRPaintEventArgs(Graphics, Single, Single, GraphicCache)
Initializes a new instance of the FRPaintEventArgs class with specified settings.
Declaration
public FRPaintEventArgs(Graphics g, float scaleX, float scaleY, GraphicCache cache)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Drawing.Graphics | g | Graphics object to draw on. |
| System.Single | scaleX | X scale factor. |
| System.Single | scaleY | Y scale factor. |
| GraphicCache | cache | Cache that contains graphics objects. |
Properties
Cache
Gets the cache that contains graphics objects.
Declaration
public GraphicCache Cache { get; }
Property Value
| Type | Description |
|---|---|
| GraphicCache |
Graphics
Gets a Graphics object to draw on.
Declaration
public IGraphics Graphics { get; }
Property Value
| Type | Description |
|---|---|
| FastReport.IGraphics |
ScaleX
Gets the X scale factor.
Declaration
public float ScaleX { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
ScaleY
Gets the Y scale factor.
Declaration
public float ScaleY { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |