PrintImageBySize2Printer (GdViewer) Method

See Also     Examples     Applies To

Prints the native image to a specific printer with specific size and position.

Syntax

object.PrintImageBySize2Printer (sPrinterName, nDstX, nDstY, 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.
nDstX Required. Single. Specifies the x-coordinate (in milimeters) of the upper-left corner of the image into the paper.
nDstY Required. Single. Specifies the y-coordinate (in milimeters) of the upper-left corner of the image into the paper.
nWidth Required. Single. Specifies the width (in milimeters) of image into the paper.
nHeight Required. Single. Specifies the height (in milimeters) of image into the paper.

Returns

Boolean. True if success, else False.





© Copyright 2007 GdPicture All rights reserved.
Documentation MAP.