SetFitWindow does what the name implies – which is why Reader is opening it as 
such.

I don't recall the methods in PoDoFo but look in that same area for setting it 
to a specific zoom factor (and pass 100%).  Worst case, you can write it 
yourself.

Leonard

From: Malcolm Gates <[email protected]<mailto:[email protected]>>
Date: Monday, November 25, 2013 9:06 AM
To: Palmer Zent <[email protected]<mailto:[email protected]>>
Cc: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: Re: [Podofo-users] How to set the opening view of a PDF document

Unfortunately,  no combination of these two calls has the PDF document open at 
“Actual size” (100%).  Instead, Adobe Reader always opens such documents at 
"Fit Width".  And the zoom preference in my Adobe Reader is set to "Automatic".

________________________________
Subject: Re: [Podofo-users] How to set the opening view of a PDF document
From: [email protected]<mailto:[email protected]>
Date: Sat, 23 Nov 2013 11:10:32 +0100
CC: [email protected]<mailto:[email protected]>
To: [email protected]<mailto:[email protected]>

pdf->SetFitWindow();
To work correctly, it may also require pdf->SetCenterWindow();.

Palmer Zent

On Nov 22, 2013, at 7:28 PM, Malcolm Gates 
<[email protected]<mailto:[email protected]>> wrote:

In PoDoFo, how does one specify the zoom (magnification) factor?

I would like to set a PDF document to always open at “Actual size” (100%).

Is this possible with PoDoFo?

I know this can be set in a PDF reader, but I want the PDF document itself to 
be configured this way.

Thanks,

Malcolm
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk_______________________________________________
Podofo-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/podofo-users

------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing 
conversations that shape the rapidly evolving mobile landscape. Sign up now. 
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Podofo-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to