|
|
|
|
|
iImageWidth (Function) In french: iLargeurImage Calculates the width 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.
iPrint("Largeur de l'image: " + iImageWidth("LOGO.JPG") + "mm")
iPrint("Hauteur de l'image: " + iImageHeight("LOGO.JPG") + "mm")
iEndPrinting()
Syntax
Calculating the width of an image found in a file Hide the details
<Result> = iImageWidth(<Image name>)
<Result>: Real Image width (in millimeters). <Image name>: Character string Name and full (or relative) path of image file. Remarks - iImageHeight is used to find out the height of the image to print.
- iImageWidth cannot be used to get the width of a WMF image.
- The dimensions of an image are returned by BitmapInfo.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|