Skip to main content
GordonPrince
Participating Frequently
May 2, 2018
Question

CWeb2PDF.NewDocumentWithBase documentation

  • May 2, 2018
  • 1 reply
  • 490 views

I'm working with Microsoft Office VBA. In the Acrobat WebCapture 1.0 Type Library (AcrobatWeb2PDF ) there's a function CWeb2PDF with a NewDocumentWithBase method. It takes the arguments pClient, pDocument and basePath. I can't find any documentation on how to use this function. Especially, what are kinds of objects should I be passing as the first two arguments?

1. I've got an Internet Explorer object open that I'm working with -- can that be passed to this function?

2. is the second argument "pDocument" a PDDoc object?

Thanks for any help on this. Or pointing me to the documentation for the VBA interface.

This topic has been closed for replies.

1 reply

Karl Heinz  Kremer
Community Expert
Community Expert
May 2, 2018

This is not a documented API. It's part of Acrobat's own functionality, and not something that Adobe documented for our use in the SDK. You may be able to reverse engineer how it works, but keep in mind that Adobe can change this interface at any time without having to make sure that the updated API works with your code. If they decide to fix a bug in Acrobat that requires a change in this interface, they will very likely just do that - and your software will break.