Skip to main content
A newer version of this page is available.

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

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

Namespace: DevExpress.XtraGrid.Views.Printing

Assembly: DevExpress.XtraGrid.v18.2.dll

Declaration

public PrintRowEventArgs(
    IPrintingSystem ips,
    Graphics g,
    IBrickGraphics graph,
    int rowHandle,
    int level,
    int x,
    int y,
    bool hasRowFooter
)

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.

hasRowFooter Boolean

Specifies whether the row contains a footer. This value is used to initialize the PrintRowEventArgs.HasFooter property.

See Also