New Forum | Previous | Next | (P-PDF) Developers
Topic: Using Acrobat Core API from VB.NET?
Conf: (P-PDF) Developers, Msg: 103326
Date: 1/7/2004 06:45 AM
I've read a lot of the way through the acrobat5.0 core API reference and found that I need to use AVDocPrintPagesWithParams for what I am doing.
The problem is, that I cant seem to figure out how to get access to the core API using VB. I'm currently trying to use the pInvoke method by declaring a sub from AcroFX32.dll. Am I doing something wrong?
here's a code snippit.
Public Declare Auto Sub AVDocPrintPagesWithParams Lib "C:\Program Files\Adobe\Acrobat 5.0\Acrobat\AcroFX32.dll" Alias "AVDocPrintPagesWithParams" (ByVal AVDoc As Object)
Has anyone else done this?
Heck, even if I have to code this in vc++ that's okay, just tell me which DLL to use, and the entry point name.