SheetRender.CustomPrint

SheetRender.CustomPrint method

Client can control page setting of printer when print each page using this function.

public int CustomPrint(bool nextPageAfterPrint, PrintPageEventArgs printPageEventArgs)
ParameterTypeDescription
nextPageAfterPrintBooleanIf true , printer will go to next page after print current page
printPageEventArgsPrintPageEventArgsSystem.Drawing.Printing.PrintPageEventArgs

Return Value

Indirect next page index, based on zero

See Also