Print Page | Close Window

Adding Viewport

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=2341
Printed Date: 08 Nov 25 at 4:26PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Adding Viewport
Posted By: kaiken1987
Subject: Adding Viewport
Date Posted: 18 Jul 12 at 8:18PM
I'm having trouble trying to figure out how to add a view port to a page? I see there are plenty of ways to modify them but I can't figure out how to add one. I'm trying add something similar to this:

/VP [ <<
    /Type /Viewport
    /Bbox [0 0 2960 3345]
    /Name (Title)
    /Measure <<
        /Type /Measure
        /Subtype /GEO
        /Bounds [0 0 0 1 1 1 1 0]
        /GPTS [29.0 -90.0 30.0 -90.0 30.0 -89.0 29.0 -89.0]
        /LPTS [0.024324 0.039461 0.051689 0.978774 0.975675 0.961136 0.957432 0.022122]
        /GCS <<
            /Type /PROJCS
            /WKT (PROJCS["WGS_1984_UTM_Zone_16N",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Transverse_Mercator"],PARAMETER["latitude_of_origin",0],PARAMETER["central_meridian",-87],PARAMETER["scale_factor",0.9996],PARAMETER["false_easting",500000],PARAMETER["false_northing",0],UNIT["Meter",1]])
            >>
        >>
    >>



Replies:
Posted By: Ingo
Date Posted: 18 Jul 12 at 10:38PM
Perhaps you'll succeed in using
NewContentStream
SelectContentStream
SetContentStreamFromString?
It's only an idea ;-)

Cheers, Ingo





Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk