PD4ML v4 › Forums › PD4ML v3 Archived Forums (Read Only) › General questions / FAQ › default zoom This topic has 2 replies, 2 voices, and was last updated Feb 24, 201113:18:55 by 3x3cut3r. Viewing 3 posts - 1 through 3 (of 3 total) Author Posts 3x3cut3r February 24, 2011 at 13:18 #26523 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 PD4ML February 24, 2011 at 15:47 #28432 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/developer/en/acrobat/PDFOpenParameters.pdf In PDF file itself you may define starting document view mode. For example the code [language=java:3sx4er5j]Map m = new HashMap(); m.put(PD4Constants.PD4ML_DOCUMENT_VIEW_MODE, “SinglePage”); pd4ml.setDynamicParams(m);[/language:3sx4er5j] (or Pd4Cmd … -param pd4ml.document.view.mode SinglePage ) forces AcroRead to open the doc scaled down to fit viewer window. 3x3cut3r February 25, 2011 at 15:25 #28433 @PD4ML wrote: (or Pd4Cmd … -param pd4ml.document.view.mode SinglePage ) Thank you! this is perfect! Author Posts Viewing 3 posts - 1 through 3 (of 3 total) The forum ‘General questions / FAQ’ is closed to new topics and replies.