Adds a link to a URL address into the HTML page currently printed.
Remark: iLink has no effect if the page is not printed to an HTML file.
iDestination(iHTMLCSS, "MyPage")
iPrint("On the next line, a link to a page")
iLink("Know all about WINDEV", "http://www.WINDEV.com")
iEndPrinting()
Syntax
<Result> = iLink(<Link caption> , <URL address> [, <Current browser>])
<Result>: Boolean
- True if the link was printed,
- False otherwise.
<Link caption>: Character string
Text of link. This text will be displayed as a link in the HTML page.
<URL address>: Character string
Address of the page to display. This page will be automatically opened when the user clicks <Link Caption>.
<Current browser>: Optional boolean
- True (default value): the page is opened in the current browser.
- False: the page is opened in a new browser.
Remarks
A line break is automatically generated after the caption of the link. The cursor is positioned on the next line. The move to the next line takes into account the height of the current line. This height depends on the height of the font used.