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




The System.Drawing.Image object to draw.
A System.Drawing.PointF which represents the location of the destination for the upper-left corner of the image.
A System.Drawing.SizeF which represents the destination size of the image.
A boolean value that when true, the destination size is adjusted to maintain the image's aspect ratio.
Draws an image on the printer.
Syntax
'Declaration
 
Public Overloads Sub PrintImage( _
   ByVal image As Image, _
   ByVal destination As PointF, _
   ByVal destinationSize As SizeF, _
   ByVal aspect As Boolean _
) 
'Usage
 
Dim instance As PrintJob
Dim image As Image
Dim destination As PointF
Dim destinationSize As SizeF
Dim aspect As Boolean
 
instance.PrintImage(image, destination, destinationSize, aspect)
public void PrintImage( 
   Image image,
   PointF destination,
   SizeF destinationSize,
   bool aspect
)
public: void PrintImage( 
   Image* image,
   PointF destination,
   SizeF destinationSize,
   bool aspect
) 
public:
void PrintImage( 
   Image^ image,
   PointF destination,
   SizeF destinationSize,
   bool aspect
) 

Parameters

image
The System.Drawing.Image object to draw.
destination
A System.Drawing.PointF which represents the location of the destination for the upper-left corner of the image.
destinationSize
A System.Drawing.SizeF which represents the destination size of the image.
aspect
A boolean value that when true, the destination size is adjusted to maintain the image's aspect ratio.
See Also

Reference

PrintJob Class
PrintJob Members
Overload List

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback