|
|
|
|
|
iImageHeight (Function) In french: iHauteurImage Calculates the height of the image to print (in millimeters). This calculation is performed in relation to the resolution of the selected printer (and not in relation to the screen resolution). No enlargement factor is applied.
// Prints the dimensions of the image (in mm) iPrint("Width of image: " + iImageWidth("WINDEV.JPG") + "mm") iPrint("Height of image: " + iImageHeight("WINDEV.JPG") + "mm") iEndPrinting()
Syntax
Calculating the height of an image found in a file Hide the details
<Result> = iImageHeight(<Image name>)
<Result>: Real Height of image (in millimeters). <Image name>: Character string (with quotes) Name and full (or relative) path of image file. Remarks - iImageWidth is used to find out the width of a page to print.
- iImageHeight does not allow you to find out the height of an image in WMF format.
- The dimensions of an image are returned by BitmapInfo.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|