Accusoft.PrintPro8.Net
PrintBitmap(Bitmap,PointF,SizeF,PointF,SizeF,Boolean) Method




The Bitmap 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.
A boolean value that when true, the destination size is adjusted to maintain the image data's aspect ratio.
Draws a Bitmap on the printer.
Syntax
'Declaration
 
Public Overloads Sub PrintBitmap( _
   ByVal bitmap As Bitmap, _
   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 bitmap As Bitmap
Dim source As PointF
Dim sourceSize As SizeF
Dim destination As PointF
Dim destinationSize As SizeF
Dim aspect As Boolean
 
instance.PrintBitmap(bitmap, source, sourceSize, destination, destinationSize, aspect)
public void PrintBitmap( 
   Bitmap bitmap,
   PointF source,
   SizeF sourceSize,
   PointF destination,
   SizeF destinationSize,
   bool aspect
)
public: void PrintBitmap( 
   Bitmap* bitmap,
   PointF source,
   SizeF sourceSize,
   PointF destination,
   SizeF destinationSize,
   bool aspect
) 
public:
void PrintBitmap( 
   Bitmap^ bitmap,
   PointF source,
   SizeF sourceSize,
   PointF destination,
   SizeF destinationSize,
   bool aspect
) 

Parameters

bitmap
The Bitmap 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
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

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback