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
iAddBookmark (Function)
In french: iAjouteSignet
Adds a bookmark in the report viewer or when exporting to PDF.
Example
Syntax
<Result> = iAddBookmark(<Bookmark identifier> , <Caption> [, <Parent identifier>])
<Result>: Boolean
  • True if the bookmark was added,
  • False if a problem occurred.
<Bookmark identifier>: Character string
Unique identifier of bookmark. A WLanguage error occurs if this identifier already exists.
<Caption>: Character string
Caption of bookmark. This caption will allow the user to directly access the section of text corresponding to the bookmark.
<Parent identifier>: Optional character string
Unique identifier of the parent bookmark of the bookmark to create.
If this parameter is not specified, the bookmark is created at the root.
If the identifier of the parent does not exist, <Result> returns False and the bookmark is created at the root.
Remarks
  • During the programmed prints, the bookmark is created at the current position.
  • When printing a report, iAddBookmark must be used in the print code of a control or block. Then, the bookmark is created at the position of the corresponding control or block.
Related Examples:
WD Reports Training (WINDEV): WD Reports
[ + ] This example presents the different methods for creating a report:

- prints based on different data sources (queries, variables, ...)
- prints based on controls (Table, Spreadsheet, PVT, ...)
- printing composite reports
- specific prints (portrait/landscape, report with watermark, report with bar code, ...)
Business / UI classification: Neutral code
Component: wd270prn.dll
See also
Minimum version required
  • Version 17
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/22/2023

Send a report | Local help