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
Prints a text in a rectangular area. The print is not started (only iEndPrinting can be used to start the print).
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.
iPrintZone("My Text", 0, 0, dHeight, 200, iCenterH, iCenterV)
Syntax
<Result> = iPrintZone(<Text> , <X1> , <Y1> , <X2> , <Y2> [, <Alignment> [, <Start> [, <End>]]])
<Result>: Integer
Number of characters printed in the rectangular area. If the entire text was printed, <Result> corresponds to the size of <Text>.
<Text>: Character string (with quotes)
Character string to print in a specific area.
<X1>: Real
Horizontal coordinate of top left corner of the print area (in millimeters).
Value included between 0 and the page width (returned by iPageWidth).
<Y1>: Real
Vertical coordinate of top left corner of the print area (in millimeters).
Value included between 0 and the page height (returned by iPageHeight).
<X2>: Real
Horizontal coordinate of bottom right corner of the print area (in millimeters).
Value included between 0 and the page width (returned by iPageWidth).
<Y2>: Real
Vertical coordinate of bottom right corner of the print area (in millimeters).
Value included between 0 and the page height (returned by iPageHeight).
<Alignment>: Optional Integer constant (or combination of constants)
Configures the text alignment in the area (iTop + iLeft by default).
iBottomText aligned at bottom.
iCenterHText horizontally centered.
iCenterVText vertically centered.
iRightText aligned to right.
iLeftText aligned to left.
iTopText aligned at top
<Start>: Optional integer
Subscript of first <Text> character to print. If this parameter is not specified, the <Text> is printed from the first character.
<End>: Optional integer
Subscript of last <Text> character to print. If this parameter is not specified, the <Text> is printed up to the last character.
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