PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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.
Versions 18 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 18
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 19 and later
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
New in version 19
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Android Widget This function is now available in Android Widget mode.
Android This function is now available for the Android applications.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// 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.
Linux Only images in JPEG format can be used.
Versions 17 and later
Caution: Syntax available from version 170069
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadUniversal Windows 10 AppAjaxUser code (UMC)

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 Image variable.
Linux Only images in JPEG format can be used.
New in version 17
Caution: Syntax available from version 170069
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadUniversal Windows 10 AppAjaxUser code (UMC)

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 Image variable.
Linux Only images in JPEG format can be used.
Caution: Syntax available from version 170069
WINDEVWEBDEV - Server codeReports and QueriesiPhone/iPadUniversal Windows 10 AppAjaxUser code (UMC)

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 Image variable.
Linux Only images in JPEG format can be used.
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.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230prn.dll
Windows Mobile wp230prn.dll
Java wd230java.jar
Linux wd230prn.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment