AccusoftPrintPro8 ActiveX DLL > PrintPro Object : PrintPicture Method |
Single-precision value indicating the destination width of the image.
If omitted, the width of the image will be used. If Aspect is False and the destination width is larger or smaller than the source width (width2), the image is stretched or compressed to fit.
Single-precision value indicating the destination height of the image.
If omitted, the height of the image will be used. If Aspect is False and the destination height is larger or smaller than the source height (height2), the image is stretched or compressed to fit.
Single-precision value indicating the coordinate (x-axis) of a clipping region within the image. If Aspect is True, 0 is assumed.
Boolean value indicating whether the aspect ratio of the image should be maintained.
Draws a bitmap image on a document to be printed.
Single-precision value indicating the destination width of the image.
If omitted, the width of the image will be used. If Aspect is False and the destination width is larger or smaller than the source width (width2), the image is stretched or compressed to fit.
Single-precision value indicating the destination height of the image.
If omitted, the height of the image will be used. If Aspect is False and the destination height is larger or smaller than the source height (height2), the image is stretched or compressed to fit.
Single-precision value indicating the coordinate (x-axis) of a clipping region within the image. If Aspect is True, 0 is assumed.
Boolean value indicating whether the aspect ratio of the image should be maintained.
The bitmap is defined by the Picture property. The ScaleMode property determines the unit of measure used.
The destination coordinates of the image must be within the physical area of the printer. If a printer has not been selected or a document has not been started, the PrintPicture method will select the default printer and start a new document. Use the EndPrintDoc method to print the document.
If OwnDIB was set when SetPictureBMP was invoked, then the bitmap is owned by the PrintPro control, and the PrintDIB method deletes the DIB after drawing the bitmap on the document to be printed.