AccusoftPrintPro8 ActiveX DLL > PrintPro Object : StartPrintPreview Method |
Starts a print preview for the current page.
Visual Basic |
---|
Public Sub StartPrintPreview() |
Any previous resources for the current page are destroyed. To create a print preview:
Call StartPrintPreview method. If you plan on creating print preview images while printing a document, you need to start a print document using the StartPrintDoc method before calling StartPrintPreview. If you only want to create a print preview and you don't want to actually print a document, set the PrintPreviewOnly property to True before you call the StartPrintPreview method.
After initiating a print preview, print to the printer in the same manner as if you were printing a document. When you are done printing to a page, use the EndPrintPreview method to end the print preview for that page. If you are creating a multiple page document, PrintPro automatically creates a print preview for each page.