PDF Generating Tool Support Forum

HOME   Login   Register    Search




  Subject: default zoom
   PostPosted: 24 Feb 2011, 15:18 
hello,

how can i set the default zoom factor e.g. 100% for the pdf file? I use the command line tool to create the pdf.

greetings


  Subject: Re: default zoom
   PostPosted: 24 Feb 2011, 17:47 
As far as I know there is no way to pre-define in PDF initial zoom factor. You may define it as AcroRead command line/URL parameter.

See http://partners.adobe.com/public/develo ... meters.pdf

In PDF file itself you may define starting document view mode. For example the code

Map m = new HashMap();  
m.put(PD4Constants.PD4ML_DOCUMENT_VIEW_MODE, "SinglePage");  
pd4ml.setDynamicParams(m);


(or
Pd4Cmd ... -param pd4ml.document.view.mode SinglePage )

forces AcroRead to open the doc scaled down to fit viewer window.


  Subject: Re: default zoom
   PostPosted: 25 Feb 2011, 17:25 
PD4ML wrote:
(or
Pd4Cmd ... -param pd4ml.document.view.mode SinglePage )



Thank you! this is perfect!



[Reply]     [ 3 posts ] 

cron
Copyright ©2004-10 zefer|org. All rights reserved. Bookmark and Share