Accusoft.PrintPro8.Net
PrintImage(Image,PointF,SizeF,PointF,SizeF,Boolean) Method




The image object to draw.
The location in the source image of the upper-left of the source image data.
The source size of the image data.
The location of the destination for the upper-left corner of the image data.
The destination size of the Image data.
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 source As PointF, _
   ByVal sourceSize As SizeF, _
   ByVal destination As PointF, _
   ByVal destinationSize As SizeF, _
   ByVal aspect As Boolean _
) 
'Usage
 
Dim instance As PrintJob
Dim image As Image
Dim source As PointF
Dim sourceSize As SizeF
Dim destination As PointF
Dim destinationSize As SizeF
Dim aspect As Boolean
 
instance.PrintImage(image, source, sourceSize, destination, destinationSize, aspect)
public void PrintImage( 
   Image image,
   PointF source,
   SizeF sourceSize,
   PointF destination,
   SizeF destinationSize,
   bool aspect
)
public: void PrintImage( 
   Image* image,
   PointF source,
   SizeF sourceSize,
   PointF destination,
   SizeF destinationSize,
   bool aspect
) 
public:
void PrintImage( 
   Image^ image,
   PointF source,
   SizeF sourceSize,
   PointF destination,
   SizeF destinationSize,
   bool aspect
) 

Parameters

image
The image object to draw.
source
The location in the source image of the upper-left of the source image data.
sourceSize
The source size of the image data.
destination
The location of the destination for the upper-left corner of the image data.
destinationSize
The destination size of the Image data.
aspect
when true, the destination size is adjusted to maintain the image data's aspect ratio.
See Also

Reference

PrintJob Class
PrintJob Members
Overload List

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback