See Also Examples Applies To
Prints the native GdPicture image to a specific printer with specific size and position.
Syntax
object.PrintImageBySize2Printer (sPrinterName, nDstLeft, nDstTop, nWidth, nHeight)
The PrintImageBySize2Printer syntax has these parts:
| Part | Description |
| object | Required. An object expression that evaluates to an object in the Applies To list. |
| sPrinterName | Required. String. The name of the printer to use. |
| 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