ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Standard functions / Print functions
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
iHPos (Function)
In french: iPosH
Warning
iHPos is kept for backward compatibility.
In this version, use iXPos.
Below is the documentation of iHPos, available in WINDEV 5.5
 
Purpose
Find out or initialize the horizontal position (column) of the cursor in the page.
Syntax
Syntax 1: Finding out the current horizontal position
<Result> = iPosH()
  • <Result> is a real containing the horizontal position of the cursor
Syntax 2: Modifying the horizontal position
<Result> = iHPos(<Column position>)
  • <Result> is a string describing the requested horizontal position
  • <Column position> is a real containing the position to specify in mm
Notes
The origin (0,0) is located in the upper-left corner of the sheet. It takes the physical margins of printer into account. Each printer includes a physical margin where no print is allowed. iMargin is used to define the "logical" print margins.
The current vertical position when printing a character string points to the top part of the string to print. The bottom print line depends on the height of the fonts used in the printed line.
Component: wd290prn.dll
See also
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help