Article View: adobe.acrobat.sdk
Article #210Re: Convert page size to pixels
From: Steve_J_Willis
Date: Fri, 03 Apr 2009 18:14
Date: Fri, 03 Apr 2009 18:14
7 lines
1169 bytes
1169 bytes
Could you give me a more concrete example? I don't understand how to get the page size without dealing with the AV stuff. My question is probably simpler than I stated above: PDPageDrawContentsToWindow will draw the page to a bitmap of some size, measured in pixels. I need to know what that size is in advance so I can create a correctly sized bitmap for it to draw on to hold the entire page. How do I determine the width and height of the page image PDPageDrawContentsToWindow will draw in pixels? Your help is appreciated! Steve
Technical Details
Message-ID:
<59b88097.1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!news.glorb.com!newsfeed.news2me.com!newshub.sdsu.edu!webcrossingReferences:
<59b88097.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 10177e,bc087f948614e8ac X-Google-Attributes: gid10177e,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Steve_J_Willis@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news1.google.com!news.glorb.com!newsfeed.news2me.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.acrobat.sdk Subject: Re: Convert page size to pixels Message-ID: <59b88097.1@webcrossing.la2eafNXanI> Date: Fri, 3 Apr 2009 11:14:20 -0700 References: <59b88097.-1@webcrossing.la2eafNXanI> Lines: 13 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit