PXV_Control ActiveX Control

From Tracker Software PDF SDK
Jump to: navigation, search
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
[[Category:Editor]]
 
[[Category:Editor]]
{{#customTitle:PXV_Control CoClass}}
+
{{#customTitle:PXV_Control ActiveX Control}}
{{#parentPage:PXV:PXV_CoClasses|PXV_Control}}
+
{{#parentPage:PXV:CoClasses|PXV_Control|interface}}
{{ToReview}}
+
 
  
 
== Overview ==
 
== 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 simple ActiveX Control that, when an OLE is embedded to a form or window, provides base functionality for the either viewing and manipulating PDF documents.  
  
 
The control's '''GUID''' is:
 
The control's '''GUID''' is:
  
::<tt>{A1149909-4EDC-4421-B9E5-E93C25A000A1}</tt>
+
::<tt>'''{A1149909-4EDC-4421-B9E5-E93C25A000A1}'''</tt>
  
 
The control's '''interface''' is:
 
The control's '''interface''' is:
Line 23: Line 23:
 
== How to Instantiate ==
 
== How to Instantiate ==
  
The easiest way to instantiate the control is to place 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:
+
The easiest way to instantiate the control is to place the control on your form in form-designer mode. Alternatively you may instantiate the control without placement, though in some programming languages this will make difficult or restrict some required tasks. In C# for example you would do as follows:
  
 
<pre class="brush:cpp;gutter:false">
 
<pre class="brush:cpp;gutter:false">
Line 32: Line 32:
 
== How to Use ==
 
== How to Use ==
  
Firstly, to prevent showing DEMO labels on the various pages, we recommended specifying your ''PDF-XChange Editor SDK'' developer's license key using the [[PXV:IPXV_Control_SetLicKey|IPXV_Control:SetLicKey]] method. After that you will be able to use whole API without generating DEMO labels.
+
To prevent evaluation restrictions (the embedding of DEMO labels within a file and on screen) you must provide a ''PDF-XChange Editor SDK'' developer's license key using the [[PXV:IPXV_Control_SetLicKey|IPXV_Control:SetLicKey]] method, once done so you will be able to use the entire API free of evaluation limitations.
  
Next, the most popular features you may wish to begin with are:
+
When first reviewing the available functionality - listed below are popular features you may wish to begin with:
  
* [[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 a document from the specified source file name.
  
* [[PXV:IPXV_Control_PrintPages|IPXV_Control::PrintPages]] to print document pages.
+
* [[PXV:IPXV_Control_PrintPages|IPXV_Control::PrintPages]] to print a documents pages.
  
* [[PXV:IPXV_Control_EnableEventListening|IPXV_Control::EnableEventListening]] - to enable listening of necessary Editor's events.
+
* [[PXV:IPXV_Control_EnableEventListening|IPXV_Control::EnableEventListening]] - enable's 'listening' for necessary Editor events.
  
* [[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_CurrentPage|IPXV_Control::CurrentPage]]/[[PXV:IPXV_Control_GoToNextPage|IPXV_Control::GoToNextPage]]/[[PXV:IPXV_Control_GoToDestination|IPXV_Control::GoToDestination]] - to navigate pages.
  
* [[PXV:IPXV_Control_Inst|IPXV_Control::Inst]] - to get access to the main object of SDK to get whole functionality.
+
* [[PXV:IPXV_Control_Inst|IPXV_Control::Inst]] - provides access to the main object of the SDK to expose available functionality.

Latest revision as of 11:52, 5 June 2015


Overview

The simple ActiveX Control that, when an OLE is embedded to a form or window, provides base functionality for the either viewing and manipulating 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 to instantiate the control is to place the control on your form in form-designer mode. Alternatively you may instantiate the control without placement, though in some programming languages this will make difficult or restrict some required tasks. In C# for example you would do as follows:

AxPDFXEdit.AxPXV_Control pdfCtl = new AxPDFXEdit.AxPXV_Control();
pdfCtl.CreateControl();

How to Use

To prevent evaluation restrictions (the embedding of DEMO labels within a file and on screen) you must provide a PDF-XChange Editor SDK developer's license key using the IPXV_Control:SetLicKey method, once done so you will be able to use the entire API free of evaluation limitations.

When first reviewing the available functionality - listed below are popular features you may wish to begin with:

  • IPXV_Control::Inst - provides access to the main object of the SDK to expose available functionality.