When a document is previewed with
Send DoVpePreviewDoc VPE_SHOW_NORMAL
a preview window twice as wide as it is high is shown and only the upper part of an A4 is shown in that window. I would like to show more or less a whole A4 page by default, and I tried to do that with the statement
Send DoVpePreviewDocSP 50 200 950 700 VPE_SHOW_NORMAL
This looks good on the screen resolution I normally use on my computer, but when moving the program to other computers with lower resolution, the preview doesn’t fit on the screen.
Is there a way to get the preview automatically fit on the screen? Is there such a function in VPE or is it necessary to in some other way retrieve the screen resolution and adjust the parameters in the Send DoVpePreviewDocSP statement?
Bengt