<< Click to Display Table of Contents >> VpePreviewDocSP |
[Windows platform only]
The same as VpePreviewDoc(), opens the preview window. The preview shows the page specified by VpeGotoVisualPage() (by default, this is the first page).
"SP" stands for single-parameters, since you don't specify a RECT structure. This is very usable for interpreters, which don't support the RECT structure.
void VpePreviewDocSP(
VpeHandle hDoc,
int x,
int y,
int x2,
int y2,
int show_hide
)
VpeHandle hDoc
Document Handle
int x, y, x2, y2
position of the preview window in pixels, for x = -1 all coordinates are 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 |