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 <malcolmga...@hotmail.com<mailto:malcolmga...@hotmail.com>>
Date: Monday, November 25, 2013 9:06 AM
To: Palmer Zent <palmerz...@gmail.com<mailto:palmerz...@gmail.com>>
Cc: "podofo-us...@lists.sf.net<mailto:podofo-us...@lists.sf.net>" 
<podofo-us...@lists.sf.net<mailto:podofo-us...@lists.sf.net>>
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: palmerz...@gmail.com<mailto:palmerz...@gmail.com>
Date: Sat, 23 Nov 2013 11:10:32 +0100
CC: podofo-us...@lists.sf.net<mailto:podofo-us...@lists.sf.net>
To: malcolmga...@hotmail.com<mailto:malcolmga...@hotmail.com>

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

Palmer Zent

On Nov 22, 2013, at 7:28 PM, Malcolm Gates 
<malcolmga...@hotmail.com<mailto:malcolmga...@hotmail.com>> 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
Podofo-users@lists.sourceforge.net<mailto:Podofo-users@lists.sourceforge.net>
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
Podofo-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/podofo-users

Reply via email to