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
Pritns a text in HTML format in a rectangular area. The print is not started (only iEndPrinting can be used to start the print).
Example
iPreview(iPage)

// Retrieve the height of the area
dHeight is real
dHeight = iZoneHeight(sHTLMLText, 100, iHTML)

// Draws a border
iBorder(0,0, 200, dHeight*2)

// Print the HTML text inside the border
iPrintZoneHTML(sHTMLText, 0, 0, 200, dHeight*2)

iEndPrinting()
Syntax
<Result> = iPrintZoneHTML(<HTML Text> , <X1> , <Y1> , <X2> , <Y2> [, <Start> [, <End>]])
<Result>: Integer
Number of HTML elements printed in the rectangular area (specific count of WINDEV/WEBDEV).
<HTML Text>: Character string
Character string in HTML format that must be printed 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).
<Start>: Optional integer
Subscript of the first HTML element found in the <HTML Text> to print. If this parameter is not specified, the <HTML Text> is printed from the first HTML element.
<End>: Optional integer
Subscript of the last HTML element found in the <HTML Text> to print. If this parameter is not specified, the <HTML Text> is printed until the last HTML element.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230prn.dll
Minimum required version
  • Version 18
This page is also available for…
Comments
Click [Add] to post a comment