Creates a bitmap image for a print preview page and sets the PrintPreviewPicture property.
Visual Basic |
---|
Public Sub GetPrintPreview( _ ByVal pageNum As Long _ ) |
- pageNum
- The document page number for which the print preview bitmap will be created. Page numbers start with 1 and cannot exceed the current Page property setting.
The size of the bitmap image is determined by the PrintPreviewScale property. After you create a print preview bitmap image, you can export it using the PrintPreviewPic property. You can delete the current bitmap image using the DelPrintPreviewPic method and you can delete the print preview resources for any page using the DelPrintPreview method.