GdViewer::SetZoomWidthViewer() Position to top

Discussions about document viewing.
Post Reply
coolwater
Posts: 15
Joined: Wed Nov 09, 2011 6:45 pm

GdViewer::SetZoomWidthViewer() Position to top

Post by coolwater » Thu Aug 29, 2013 6:44 pm

Hello,

When I use the SetZoomWidthViewer() method, it fits the page width and zoom in the middle of the page. Is it possible to set it where gdviewer fits it to width, but display the top most part of the page first. The user can then use the vertical scrollbar to scroll down the page.

Thank You,
Mark

User avatar
Loïc
Site Admin
Posts: 5881
Joined: Tue Oct 17, 2006 10:48 pm
Location: France
Contact:

Re: GdViewer::SetZoomWidthViewer() Position to top

Post by Loïc » Fri Aug 30, 2013 2:43 pm

Hello Mark,

Please check DocumentAlignment & DocumentPosition properties that provides all possible alignment options.

Let me know if you need further info.

With best regards,

Loïc

coolwater
Posts: 15
Joined: Wed Nov 09, 2011 6:45 pm

Re: GdViewer::SetZoomWidthViewer() Position to top

Post by coolwater » Mon Sep 02, 2013 7:38 am

Thank You! This worked for me.

-Mark

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests