<< Click to Display Table of Contents >> VpePreviewDoc |
[Windows platform only]
Opens the preview window. The preview shows the page specified by VpeGotoVisualPage() (by default, this is the first page).
void VpePreviewDoc(
VpeHandle hDoc,
RECT *rc,
int show_hide
)
VpeHandle hDoc
Document Handle
RECT *rc
position of the preview window in pixels, if it is NULL, it is ignored. For use with interpreter languages, you can set rc.right = -1 then it is also ignored.
int show_hide
can be one of the following predefined constants:
Value |
Description |
VPE_SHOW_NORMAL |
1: show window normal |
VPE_SHOW_MAXIMIZED |
2: show window maximized |
VPE_SHOW_HIDE |
3: hide the preview window |