TE Edit Control Win32 / Win64 Help
Product page

TerSetPreview

Set preview parameters.

BOOL TerSetPreview(hWnd, NumPages, ZoomPct, ShowToolbar)
HWND hWnd;Window handle to access
int NumPages;number of preview pages to display. This value must be a 1 or 2.
int ZoomPct;Zoom percentage (0 to 200). A value of 0 displays full pages fitted in the window area.
BOOL ShowToolbar;Show the print preview tool bar. This setting takes effect after the current print preview session.

Return Value: The function returns TRUE when successful.