[NTG-context] pdfstartview

Taco Hoekwater taco at elvenkind.com
Thu Feb 2 10:01:58 CET 2006

Mojca Miklavec wrote:
> I realized that opening a document on 100% (75%) for example needs
> some special handling like /GoTo /D [page /XYZ left top zoom] (I'm
> guessing now, I don't have to proper resources available to check it)
> which has to be triggered right after the document opens. A bit dirty
> in comparison to "fit width", I agree.
> I would guess that 99% of the code needed to do that already exists,
> it's just that the "zoom to XX %" needs to be triggered at document
> opening time. This might have to do something with Taco's remarks. I
> might be wrong, so please excuse me in that case.

This works (but only because object 4 is the first page in my Pdf
document). I do not know if this can be 'internalized'?

   \doPDFaddtocatalog{/PageMode /FullScreen
                     /OpenAction << /S /GoTo /D [4 0 R  /FitBH ] >> }

Cheers, Taco

More information about the ntg-context mailing list