The simple ActiveX Control that, when OLE-embedded to a form or window, provides base functionality for the viewing and changing of PDF documents.
The control's GUID is:
The control's interface is:
The control's event sink interface is:
How to Instantiate
The easiest way is the placing the control on your form in form-designer mode. Otherwise, you may instantiate the control without placement but it may be difficult in some programming languages. In C# for example:
AxPDFXEdit.AxPXV_Control pdfCtl = new AxPDFXEdit.AxPXV_Control(); pdfCtl.CreateControl();
How to Use
Firstly, to prevent showing DEMO labels on the various pages, we recommended specifying your developer's license key for PDF-XChange Editor SDK using the IPXV_Control:SetLicKey method. After that you will be able to use whole API without generating DEMO labels.
Next, the most popular features you may wish to begin with are:
- IPXV_Control::PrintPages to print document pages.
- IPXV_Control::EnableEventListening - to enable listening of necessary Editor's events.
- IPXV_Control::CurrentPage/IPXV_Control::GoToNextPage/IPXV_Control::GoToDestination - to navigate on pages.
- IPXV_Control::Inst - to get access to the main object of SDK to get whole functionality.