Contents - Index - Previous - Next


ContinuePrint method



Applies to
TProfGrid component

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

Description

Prints the grid on the same page where a prior call to BeginPrint or ContinuePrint has stopped printing.

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.

On success, the return value of the method must be passed to a subsequent call of ContinuePrint or EndPrint method.

The return value of -1 indicates an error.