PXV_Control CoClass

From PDF XChange PDF SDK
Jump to: navigation, search
Line 36: Line 36:
 
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 [[PXV:IPXV_Control_SetLicKey|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:
 
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 [[PXV:IPXV_Control_SetLicKey|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:
  
* [[PXV:IPXV_Control_OpenDocFromPath|IPXV_Control::OpenDocFromPath]] to open document from specified source file name.
+
* [[PXV:IPXV_Control_OpenDocFromPath|IPXV_Control::OpenDocFromPath]]/[[PXV:IPXV_Control_Src|IPXV_Control::Src]] to open document from specified source file name.
  
 
* [[PXV:IPXV_Control_PrintPages|IPXV_Control::PrintPages]] to print document pages.
 
* [[PXV:IPXV_Control_PrintPages|IPXV_Control::PrintPages]] to print document pages.
Line 42: Line 42:
 
* [[PXV:IPXV_Control_EnableEventListening|IPXV_Control::EnableEventListening]] - to enable listening of necessary Editor's events.
 
* [[PXV:IPXV_Control_EnableEventListening|IPXV_Control::EnableEventListening]] - to enable listening of necessary Editor's events.
  
* [[PXV:IPXV_Control_GoToDestination|IPXV_Control::CurrentPage]]/[[PXV:IPXV_Control_GoToNextPage|IPXV_Control::GoToNextPage]]/[[PXV:IPXV_Control_GoToDestination|IPXV_Control::GoToDestination]] - to navigate on pages.
+
* [[PXV:IPXV_Control_CurrentPage|IPXV_Control::CurrentPage]]/[[PXV:IPXV_Control_GoToNextPage|IPXV_Control::GoToNextPage]]/[[PXV:IPXV_Control_GoToDestination|IPXV_Control::GoToDestination]] - to navigate on pages.
  
* [[PXV:IPXV_Control_Inst|IPXV_Control::Inst]] - to get access to main object of SDK to get full functionality.
+
* [[PXV:IPXV_Control_Inst|IPXV_Control::Inst]] - to get access to the main object of SDK to get whole functionality.

Revision as of 17:12, 29 May 2015


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 GUID of control is:

{A1149909-4EDC-4421-B9E5-E93C25A000A1}

The interface of control is:

IPXV_Control

The event sink interface of control is:

_IPXV_ControlEvents


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: