PXV_Control CoClass
Line 7: | Line 7: | ||
== Overview == | == Overview == | ||
− | The simple ActiveX Control that is for OLE-embedding to a form/window and provides a base functionality for viewing and changing of PDF documents. | + | The simple ActiveX Control that is for OLE-embedding to a form/window and provides a base functionality for the viewing and changing of PDF documents. |
− | The '''GUID''' | + | The control's '''GUID''' is: |
::<tt>{A1149909-4EDC-4421-B9E5-E93C25A000A1}</tt> | ::<tt>{A1149909-4EDC-4421-B9E5-E93C25A000A1}</tt> | ||
− | The '''interface''' | + | The control's '''interface''' is: |
::[[PXV:IPXV_Control|IPXV_Control]] | ::[[PXV:IPXV_Control|IPXV_Control]] | ||
− | The '''event sink interface''' | + | The control's '''event sink interface''' is: |
::[[PXV:_IPXV_ControlEvents|_IPXV_ControlEvents]] | ::[[PXV:_IPXV_ControlEvents|_IPXV_ControlEvents]] |
Revision as of 09:30, 1 June 2015
Overview
The simple ActiveX Control that is for OLE-embedding to a form/window and provides a base functionality for the viewing and changing of PDF documents.
The control's GUID is:
- {A1149909-4EDC-4421-B9E5-E93C25A000A1}
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 simple placing to a form 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 is recommended to specify your developer's license key for PDF-XChange Editor SDK to prevent the showing the DEMO labels across the pages. For it you should use the IPXV_Control:SetLicKey method. After that you will be able to use whole API without any showing and placing of DEMO-labels. The most popular features you may use on beginning:
- IPXV_Control::OpenDocFromPath/IPXV_Control::Src to open document from specified source file name.
- 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.