Shows a preview of the contents as it would look when printed.
Public Sub PrintPreview(Optional ByVal ShowPrintButton As Boolean = True, Optional ByVal ShowPageSetupButton As Boolean = True, Optional ByVal Left As Integer = 0, Optional ByVal Top As Integer = 0, Optional ByVal Width As Integer = 0, Optional ByVal Height As Integer = 0)
Grid Object
The following parameters are available:
Parameter | Description |
ShowPrintButton | Sets whether show a "Print" button in the preview window. |
ShowPageSetupButton | Sets whether show a "Page Setup" button in the preview window. |
Left | Sets the distance between the left edge of the preview windows and the left edge of the screen. |
Top | Sets the distance between the top edge of the preview windows and the top edge of the screen. |
Width | Sets the width of the preview window. |
Height | Sets the height of the preview window. |
None