In this document you will find all parameters that can be set in NTPSetOption for the Report Preview.
NTPOPTION_PREVWIN_HELP
0 = Help is deactivated
1 = Help is active
NTPOPTION_PREVWIN_ZOOM
A zoom factor specified as a percentage for the preview.
Note: The following parameters
NTPOPTION_PREVWIN_POS_LEFT,
NTPOPTION_PREVWIN_POS_TOP,
NTPOPTION_PREVWIN_POS_WIDTH and
NTPOPTION_PREVWIN_POS_HEIGHT must always be set together.
NTPOPTION_PREVWIN_POS_LEFT
Distance of the preview window from the left edge of the screen. This is given as a percentage in relation to the screen width.
NTPOPTION_PREVWIN_POS_TOP
Distance of the preview window from the upper edge of the screen. This is given as a percentage in relation to the screen height.
NTPOPTION_PREVWIN_POS_WIDTH
Width of the preview window. This is given as a percentage in relation to the screen width.
NTPOPTION_PREVWIN_POS_HEIGHT
Height of the preview window. This is given as a percentage in relation to the screen height.
NTPOPTION_PREVWIN_CLOSEONESC
0 = Window cannot be closed with ESC (default)
1 = Window can be closed with ESC
NTPOPTION_PREVWIN_INCREMENTAL
Preview window with immediate display
0 = | The preview is shown when the data is ready for all pages (default) |
1 = | The preview is shown as soon as the first page is generated and |
further pages are gradually added to the display.
The following parameters allow the buttons of the preview window to be hidden individually. As default, all buttons are shown.
0 = Button is visible
1 = Button is hidden
NTPOPTION_PREVWIN_HIDE_FIRSTPAGE
NTPOPTION_PREVWIN_HIDE_LASTPAGE
NTPOPTION_PREVWIN_HIDE_PREVPAGE
NTPOPTION_PREVWIN_HIDE_NEXTPAGE
NTPOPTION_PREVWIN_HIDE_ZOOM2
NTPOPTION_PREVWIN_HIDE_ZOOMREVERT
NTPOPTION_PREVWIN_HIDE_ZOOMFIT
NTPOPTION_PREVWIN_HIDE_PRINTPAGE
NTPOPTION_PREVWIN_HIDE_PRINTRANGE
NTPOPTION_PREVWIN_HIDE_EXIT
NTPOPTION_PREVWIN_HIDE_SENDTO
NTPOPTION_PREVWIN_HIDE_SAVEAS
NTPOPTION_PREVWIN_HIDE_SLIDESHOWMODE