Article View: adobe.acrobat.sdk
Article #196Re: Plugin with similar functionality to snapshot tool
From: Steve_J_Willis
Date: Thu, 02 Apr 2009 19:53
Date: Thu, 02 Apr 2009 19:53
9 lines
1286 bytes
1286 bytes
Thanks again for the help! I now have this nearly working. I'm using PDPageDrawContentsToWindow to draw to an offscreen DC. This works fine. However, I want to limit what is drawn to the rectangle the user selected, which I store as an ASFixedRect. When I pass this to PDPageDrawContentsToWindow as the updateRect parameter, the entire page is still drawn with the same origin. I've also experimented with passing some invalid ASFixedRect values, and still the entire page is drawn. It seems like the updateRect parameter is being ignored (the default when this parameter is NULL). Any advice? Thanks! Steve
Technical Details
Message-ID:
<59b8621e.7@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!webcrossingReferences:
<59b8621e.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: 10177e,cbacbd6cf41f1f61 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!g2news2.google.com!news2.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.acrobat.sdk Subject: Re: Plugin with similar functionality to snapshot tool Message-ID: <59b8621e.7@webcrossing.la2eafNXanI> Date: Thu, 2 Apr 2009 12:53:32 -0700 References: <59b8621e.-1@webcrossing.la2eafNXanI> Lines: 8 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit X-Original-Lines: 16