Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #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

    #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.

    #28433

    @PD4ML wrote:

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

    Thank you! this is perfect!

Viewing 3 posts - 1 through 3 (of 3 total)

The forum ‘General questions / FAQ’ is closed to new topics and replies.