ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage functions / Standard functions / Print functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
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.
Linux Only images in JPEG format can be used.
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
Image height (in millimeters).
<Image name>: Character string
Name and full (or relative) path of image file.
Linux Only images in JPEG format can be used.
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadUser code (UMC)Ajax

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

<Result> = iImageHeight(<Image>)
<Result>: Real
Image height (in millimeters).
<Image>: Image variable
Name of a variable of type Image.
Linux Only images in JPEG format can be used.
Remarks
  • iImageWidth gets width of a page to print.
  • iImageHeight cannot be used to get the height of a WMF image.
  • The dimensions of an image are returned by BitmapInfo.
Component: wd300prn.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 09/24/2024

Send a report | Local help