Remembering Zoom Types

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

docu-track99
User
Posts: 518
Joined: Thu Dec 06, 2007 8:13 pm

Remembering Zoom Types

Post by docu-track99 »

Hi

Is there a way to determine whether someone has clicked "fit to page" or "fit to width"? The reason I ask is because if the user changes their zoom settings we want to persist that setting throughout their session. We are able to interrogate the control and get a percentage back but a fit to width percentage on a portrait document will be different than a landscape document.

Thanks
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: Remembering Zoom Types

Post by Corwin - Tracker Sup »

Hello,

No, for now Viewer AX doesn’t have any methods to get zoom mode. We will try to add such possibility in near future.
Thanks.
Corwin - Tracker Sup
User
Posts: 664
Joined: Tue Nov 14, 2006 12:23 pm

Re: Remembering Zoom Types

Post by Corwin - Tracker Sup »

Hi again,
Good news - in new build will be available new property "Documents[#DocId].Pages.ZoomMode". You will also get events about changing this property.