Accusoft.PrintPro8.Net
PrintImage(Image,Single,Single,Single,Single,Boolean) Method




The image object to draw.
The X location of the destination for the upper-left corner of the image data.
The Y location of the destination for the upper-left corner of the image data.
A single value which represents the destination width of the Image data.
A single value which represents the destination height of the Image data.
A boolean value that when true, the destination size is adjusted to maintain the image data's aspect ratio.
Draws an image on the printer.
Syntax
'Declaration
 
Public Overloads Sub PrintImage( _
   ByVal image As Image, _
   ByVal destinationX As Single, _
   ByVal destinationY As Single, _
   ByVal destinationWidth As Single, _
   ByVal destinationHeight As Single, _
   ByVal aspect As Boolean _
) 
'Usage
 
Dim instance As PrintJob
Dim image As Image
Dim destinationX As Single
Dim destinationY As Single
Dim destinationWidth As Single
Dim destinationHeight As Single
Dim aspect As Boolean
 
instance.PrintImage(image, destinationX, destinationY, destinationWidth, destinationHeight, aspect)
public void PrintImage( 
   Image image,
   float destinationX,
   float destinationY,
   float destinationWidth,
   float destinationHeight,
   bool aspect
)
public: void PrintImage( 
   Image* image,
   float destinationX,
   float destinationY,
   float destinationWidth,
   float destinationHeight,
   bool aspect
) 
public:
void PrintImage( 
   Image^ image,
   float destinationX,
   float destinationY,
   float destinationWidth,
   float destinationHeight,
   bool aspect
) 

Parameters

image
The image object to draw.
destinationX
The X location of the destination for the upper-left corner of the image data.
destinationY
The Y location of the destination for the upper-left corner of the image data.
destinationWidth
A single value which represents the destination width of the Image data.
destinationHeight
A single value which represents the destination height of the Image data.
aspect
A boolean value that when true, the destination size is adjusted to maintain the image data's aspect ratio.
See Also

Reference

PrintJob Class
PrintJob Members
Overload List

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback