Contents - Index - Previous - Next


EndPrint method



Applies to
TProfGrid component

Declaration
function EndPrint(I: Integer; Distance: Extended): Integer;

Description

Prints the grid and finishes the print job.

The first parameter of the method call must be the integer value that was returned by a prior call of BeginPrint or ContinuePrint method. The second parameter is the desired distance between the grids in the printout. The distance is expressed as a fraction of page height, i.e. a value of Distance must be greater than or equal to 0 and less than 1.