Foxit PDF Editor Foxit Application Communication APIs/Type Library is for inter-application communication. Customers can use it by running the VBA scripts from the Microsoft Office application or creating a new Windows application. Click here for the detailed API references.
- VBA Scripts
The Foxit PDF Editor user manual shows how to work with VBA Script. The download link is: Foxit user manuals page.
- Windows Application
1. Make sure Foxit PDF Editor is installed successfully;
2. Install Microsoft Visual Studio (if not installed);
3. Open Microsoft Visual Studio, create a new application (WinForm, Console, WPF, etc);
4. Choose Project, Add Reference;
5. In the Reference Manager, choose COM.
6. Select the type library "FoxitPhantomPDF 11.0 Type Library" from the list, or browse for the .tlb file. Like this:
7. In Solution Explorer, open the shortcut menu for the reference you just added, and then choose Properties;
8.In the Properties window, make sure that the Embed Interop Types property is set to True.
9. Write your code that calling the APIs.
10. Build and run.