New Forum | Previous | Next | (P-PDF) Developers
Topic: getPageNthWordQuads returning error (Via Email), 1 Attachments
Conf: (P-PDF) Developers, Msg: 135731
Date: 7/4/2005 08:10 AM
After reading through a lot of posts on this board I finally thought I had figured out the (seemingly common) problem of getting the quads for a string that I have located in a PDF file (Acrobat 7 Pro).
event.value = this.getPageNthWordQuads(0,54);
This works fine and returns tthe quads when typed straight in to the debugger within acrobat but...
I get the following error in the debugger within the Acrobat file I am opening and a null string for strQuads in VBA:
"InvalidSetError: Set not possible, invalid or unknown.
I am stuck as to whatI am doing wrong. Any help at all would be most appreciated.
NB Using Acrobat 7.0 Pro and coding in VB through Access 2003
Full code used (1,385 bytes)