PXV_Control CoClass

From PDF XChange PDF SDK
Jump to: navigation, search
Line 11: Line 11:
 
::<tt>{A1149909-4EDC-4421-B9E5-E93C25A000A1}</tt>
 
::<tt>{A1149909-4EDC-4421-B9E5-E93C25A000A1}</tt>
  
The interface of control is:
+
The '''interface''' of control is:
  
 
::[[PXV:IPXV_Control|IPXV_Control]]
 
::[[PXV:IPXV_Control|IPXV_Control]]
  
The event sink interface of control is:
+
The '''event sink interface''' of control is:
  
 
::[[PXV:_IPXV_ControlEvents|_IPXV_ControlEvents]]
 
::[[PXV:_IPXV_ControlEvents|_IPXV_ControlEvents]]
Line 21: Line 21:
 
== How to Instantiate ==
 
== How to Instantiate ==
  
There is an easiest way to place the control on your form in form-designer mode. Otherwise you may instantiate the control without placing to a form but it may be difficult in some programming languages. In C# for example:
+
There is an easiest way to place 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:
  
 
<pre class="brush:cpp;gutter:false">
 
<pre class="brush:cpp;gutter:false">
Line 30: Line 30:
 
== How to Use ==
 
== How to Use ==
  
Firstly is recommended to specify your developer license key for SDK to prevent the showing the DEMO labels across the pages. For it you must use the [[PXV:IPXV_Control_SetLicKey|IPXV_Control:SetLicKey]] method.
+
Firstly is recommended to specify your developer license key for 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.

Revision as of 14:07, 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

There is an easiest way to place 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 license key for SDK to prevent the showing the DEMO labels across the pages. For it you should use the IPXV_Control:SetLicKey method.