🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.acrobat.sdk
Article #177

Re: Plugin with similar functionality to snapshot tool

#177
From: Steve_J_Willis
Date: Wed, 01 Apr 2009 15:43
5 lines
1175 bytes
Never mind. I have determined that Acrobat will set the page number in the current AVPageView before drawing each page. In the callback function registered for page view drawing events, simply comparing the page number returned by AVPageViewGetPageNum with the page of the rectangle to be drawn appears to work correctly (if they are not equal, don't draw the shape). Of course, this means the original page number of each drawing needs to be saved along with the rectangle, which I am accomplishing using a vector of structs.

Thanks again for all the help to date!

Steve
Technical Details
Message-ID: <59b8621e.4@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!newshub.sdsu.edu!webcrossing
References: <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!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.acrobat.sdk
Subject: Re: Plugin with similar functionality to snapshot tool
Message-ID: <59b8621e.4@webcrossing.la2eafNXanI>
Date: Wed, 1 Apr 2009 08:43:55 -0700
References: <59b8621e.-1@webcrossing.la2eafNXanI>
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit