PrintRowEventArgs(IPrintingSystem, Graphics, IBrickGraphics, Int32, Int32, Int32, Int32) Constructor

Initializes a new instance of the PrintRowEventArgs class with the specified settings.

Namespace: DevExpress.XtraGrid.Views.Printing

Assembly: DevExpress.XtraGrid.v20.2.dll

Declaration

public PrintRowEventArgs(
    IPrintingSystem ips,
    Graphics g,
    IBrickGraphics graph,
    int rowHandle,
    int level,
    int x,
    int y
)
Public Sub New(
    ips As IPrintingSystem,
    g As Graphics,
    graph As IBrickGraphics,
    rowHandle As Integer,
    level As Integer,
    x As Integer,
    y As Integer
)

Parameters

Name Type Description
ips IPrintingSystem

The PrintingSystem object that provides methods to create bricks in the printout/export output. This value is used to initialize the PrintRowEventArgs.PS property.

g Graphics

A Graphics object that represents the grid control's drawing surface. This value is used to initialize the PrintRowEventArgs.Graphics property.

graph IBrickGraphics

A BrickGraphics object that implements report drawing functions. This value is used to initialize the PrintRowEventArgs.BrickGraphics property.

rowHandle Int32

The handle of the row that has just been printed. This value is used to initialize the PrintRowEventArgs.RowHandle property.

level Int32

The group level of the row that has been printed. This value is used to initialize the PrintRowEventArgs.Level property.

x Int32

The X coordinate, in pixels, where the next row will be drawn in the printout/export output. This value is used to initialize the PrintRowEventArgs.X property.

y Int32

The Y coordinate, in pixels, where the next row will be drawn in the printout/export output. This value is used to initialize the PrintRowEventArgs.Y property.

See Also