Document Preview - Starting position

Knowledge exchange related to the VPE Report Engine and PDF Library

Moderator: IDEAL Software Support

Document Preview - Starting position

Postby davehopr » Wed Jan 18, 2006 10:07 pm

Version 3.5.

I have a document that varies in length and is always created as a single page for viewing inside a window.

How would I go about starting the preview at a particular Y coordinate?

Thanks ..
davehopr
 
Posts: 1
Joined: Wed Jan 18, 2006 9:59 pm

Postby IDEAL Software Support » Thu Jan 19, 2006 1:09 pm

There is no direct way to do so. One solution would be to call:

VPE.SendKey(VKEY_SCROLL_DOWN)

this will scroll down the preview always by 1 cm (regardless of the zoom factor). You can call this method repeatedly to scroll as much as required.
IDEAL Software Support
 
Posts: 1633
Joined: Thu Nov 18, 2004 4:03 pm


Return to VPE Open Forum

Who is online

Users browsing this forum: No registered users and 14 guests

cron