Inesoft
PrintCE SDK .NET |
C# Syntax: bool ret = object.DrawBitmap(Bitmap bitmap, double x, double y, double width, double height, bool keep_aspect);
VB Syntax: Dim ret As Boolean = object.DrawBitmap(ByVal bitmap As Bitmap, ByVal x As Double, ByVal y As Double, ByVal width As Double, ByVal height As Double, ByVal keep_aspect As Boolean)Parameters
bitmap
Bitmap to draw
x, y
are coordinates of the place where the picture is to be drawn
width
points variable getting value of the picture's width
height
points variable getting value of the picture's height
kPixels - measurement in the device pixels
kInches - measurement in inches
kMillimeters - measurement in millimeters
kCentimeters - measurement in centumeters
kPoints - measurement in points (used for fonts), 72 points per logical inchkeep_aspect
if TRUE, width-to-height ratio of the original picture remains the same
Return Value
ret
true if the picture is drawn, false if the picture is not found
Review
© 2009 Inesoft. All rights reserved.