PreviewDoc

<< Click to Display Table of Contents >>

Navigation:  Management >

PreviewDoc

Previous pageReturn to chapter overviewNext page

[GUI Control Only]

The same as Preview(). Opens the preview window on a defined position. The preview shows the page specified by VisualPage (by default, this is the first page). You can embed the preview into your own window / form, see the property External Window.

method void VPE.PreviewDoc(

long Left,

long Top,

long Right,

long Bottom,

integer ShowHide

)

long Left, Top, Right, Bottom

position of the preview window in pixels, for "Left" = -1 all coordinates are ignored.

integer ShowHide

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