Hi Paul,
This was the document I was talking about:
You can download sample Chapter 8 Integrating PDF Technology of the book MegaFox: 1002 Things You Wanted to Know About Extending Visual FoxPro by Marcia Akins, Andy Kramek, Rick Schummer from
http://www.hentzenwerke.com/samplechapters/zsamplechapters.htm.
Looks like you already got it from Sergey. I found it helpful although, like I said, I haven't had to do this implementation yet.
Deb