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
iPrintAreaMarkdown (Function)
In french: iImprimeZoneMarkdown
Prints Markdown text in a rectangular area. The print job is not started (only iEndPrinting can be used to start the print job).
Example
iDestination(iViewer)
 
// Retrieve the height of the area
dHeight is real
dHeight = iAreaHeight(sMarkdownText, 100, iMarkdown)
 
// Draws the borders
iBorder(0,0, 200, dHeight*2)
 
// Print the Markdown text inside the borders
iPrintAreaMarkdown(sMarkdownText, 0, 0, 200, dHeight*2)
 
iEndPrinting()
Syntax
<Result> = iPrintAreaMarkdown(<Markdown text> , <X1> , <Y1> , <X2> , <Y2> [, <Start> [, <End>]])
<Result>: Integer
Index of the last Markdown element printed in the rectangular area (WINDEV/WEBDEV specific count).
<Markdown text>: Character string
Markdown string to be printed in a specific area.
<X1>: Real
Horizontal coordinate of the upper-left corner of the print area (in millimeters).
Value between 0 and the page width (returned by iPageWidth).
<Y1>: Real
Vertical coordinate of the upper-left corner of the print area (in millimeters).
Value between 0 and the page height (returned by iPageHeight).
<X2>: Real
Horizontal coordinate of the lower-right corner of the print area (in millimeters).
Value between 0 and the page width (returned by iPageWidth).
<Y2>: Real
Vertical coordinate of the lower-right corner of the print area (in millimeters).
Value between 0 and the page height (returned by iPageHeight).
<Start>: Optional integer
Index of the first Markdown element of the <Markdown text> to print. If this parameter is not specified, the <Markdown text> is printed from the first Markdown element.
<End>: Optional integer
Index of the last Markdown element of the <Markdown text> to print. If this parameter is not specified, the <Markdown text> is printed until the last Markdown element is reached.
Component: wd300prn.dll
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/21/2023

Send a report | Local help