PXV_Control CoClass

From Tracker Software PDF SDK
Jump to: navigation, search
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 the viewing and changing of PDF documents.  
+
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 '''GUID''' is:
Line 23: Line 23:
 
== How to Instantiate ==
 
== 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:
+
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:
  
 
<pre class="brush:cpp;gutter:false">
 
<pre class="brush:cpp;gutter:false">
Line 32: Line 32:
 
== How to Use ==
 
== 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 [[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, to prevent showing DEMO labels on the various pages, we recommended specifying your developer's license key for PDF-XChange Editor SDK using the [[PXV:IPXV_Control_SetLicKey|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:
  
 
* [[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_OpenDocFromPath|IPXV_Control::OpenDocFromPath]]/[[PXV:IPXV_Control_Src|IPXV_Control::Src]] to open document from specified source file name.

Revision as of 09:38, 1 June 2015


Overview

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:

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

The control's interface is:

IPXV_Control

The control's event sink interface 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 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: