AccusoftPrintPro8 ActiveX DLL > PrintPro Object : DelPrintPreviewPicture Method |
Deletes the current print preview bitmap.
Visual Basic |
---|
Public Sub DelPrintPreviewPicture() |
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 the DelPrintPreviewPicture method to delete the print preview bitmap image when you no longer need it.
Deleting a print preview bitmap does not delete the print preview page resources. Use the DelPrintPreview method to delete the print preview page resources.
If you call the DelPrintPreviewPicture method to delete the print preview bitmap image, you can always recreate the bitmap using the GetPrintPreview method. So Deleting the bitmap image when it is no longer needed will conserve system resources.