See Also Examples Applies To
Invokes the standard Windows Printer Dialog, which allows users to choose the printer settings, then prints the native GdPicture image with specific size and position.
This function takes a Win32 Window Handle as parameter which will be considered as parent window for the print dialog box.
Syntax
object.PrintImageDialogBySizeHWND (hwnd, nDstLeft, nDstTop, nWidth, nHeight)
The PrintImageDialogBySizeHWND syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| hwnd | Required. Long. A Win32 Window Handle. |
| nDstLeft | Required. Single. Specifies the x-coordinate (in millimeters) of the upper-left corner of the image into the paper. |
| nDstTop | Required. Single. Specifies the y-coordinate (in millimeters) of the upper-left corner of the image into the paper. |
| nWidth | Required. Single. Specifies the width (in millimeters) of image into the paper. |
| nHeight | Required. Single. Specifies the height (in millimeters) of image into the paper. |
Returns
Boolean. True if success, else False.
Category
Print