Accusoft.PrintPro8.Net
PrintBitmap(Bitmap,Single,Single,Single,Single,Boolean) Method




The Bitmap 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.
The destination width of the Image data.
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 a Bitmap on the printer.
Syntax
'Declaration
 
Public Overloads Sub PrintBitmap( _
   ByVal bitmap As Bitmap, _
   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 bitmap As Bitmap
Dim destinationX As Single
Dim destinationY As Single
Dim destinationWidth As Single
Dim destinationHeight As Single
Dim aspect As Boolean
 
instance.PrintBitmap(bitmap, destinationX, destinationY, destinationWidth, destinationHeight, aspect)
public void PrintBitmap( 
   Bitmap bitmap,
   float destinationX,
   float destinationY,
   float destinationWidth,
   float destinationHeight,
   bool aspect
)
public: void PrintBitmap( 
   Bitmap* bitmap,
   float destinationX,
   float destinationY,
   float destinationWidth,
   float destinationHeight,
   bool aspect
) 
public:
void PrintBitmap( 
   Bitmap^ bitmap,
   float destinationX,
   float destinationY,
   float destinationWidth,
   float destinationHeight,
   bool aspect
) 

Parameters

bitmap
The Bitmap 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
The destination width of the Image data.
destinationHeight
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

 

 


©2015. Accusoft Corporation. All Rights Reserved.

Send Feedback