Home > BSPrinter documentation > Reference

StartDoc Event


Applies to: PrintPreview control , PrinterExEvents object


Parameter(s):
Info          FirstPageIndex          As Long


Description:

Occurs when in a document is added the first page.

A report can have more than one document.
If in the middle of the Printing routine there is an EndDoc statement, the Print Preview dialog box will show more than one document. Each document will have its page numbers, the FirstPageIndex argument has the page index of the first page of the current document.

See Also:

GetDocFirstPageIndex method
GetDocLastPageIndex method
GetDocPageCount method
GetPageNumber method
StartPage event
EndDoc event