AccusoftPrintPro8 ActiveX DLL > PrintPro Object : DelPrintPreview Method |
Deletes the print preview resources for a specified page.
Visual Basic |
---|
Public Sub DelPrintPreview( _ ByVal pageNum As Long _ ) |
System resources are required whenever you create a print preview page. These resources are automatically deleted when the PrintPRO control is unloaded or when you replace a current print preview page with a new one.
You can also use this method to delete the print preview page resources when you no longer need them.
Deleting a print preview page does not delete the bitmap image associated with the print preview page, if one exists. Use the DelPrintPreviewPicture method to delete the current print preview bitmap image.
If you call this method to delete print preview resources, you cannot recreate the print preview bitmap image.