|
|
|
|
|
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). 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|