PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
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.
Example
// Imprime les dimensions de l'image (en mm)
iPrint("Largeur de l'image: " + iImageWidth("WINDEV.JPG") + "mm")
iPrint("Hauteur de l'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
Name and full (or relative) path of image file.
Versions 17 and later
Reports and Queries

Calculating the height of an image found in an Image variable Hide the details

<Result> = iImageHeight(<Image>)
<Result>: Real
Height of image (in millimeters).
<Image>: Image variable
Name of a variable of type Image.
New in version 17
Reports and Queries

Calculating the height of an image found in an Image variable Hide the details

<Result> = iImageHeight(<Image>)
<Result>: Real
Height of image (in millimeters).
<Image>: Image variable
Name of a variable of type Image.
Reports and Queries

Calculating the height of an image found in an Image variable Hide the details

<Result> = iImageHeight(<Image>)
<Result>: Real
Height of image (in millimeters).
<Image>: Image variable
Name of a variable of type Image.
Remarks
  • iImageWidth is used to find out the width of a page to print.
  • The iImageHeight function does not provide the height of an Image in WMF format.
  • The dimensions of an image are returned by BitmapInfo.
Component: wd270prn.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment