PXV_Control ActiveX Control
(8 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
[[Category:Editor]] | [[Category:Editor]] | ||
− | {{#customTitle:PXV_Control | + | {{#customTitle:PXV_Control ActiveX Control}} |
− | {{#parentPage:PXV: | + | {{#parentPage:PXV:CoClasses|PXV_Control|interface}} |
− | + | ||
== Overview == | == Overview == | ||
− | The simple ActiveX Control that, when OLE | + | 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 | + | 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 == | ||
− | + | 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. | |
− | + | 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 | + | * [[PXV:IPXV_Control_PrintPages|IPXV_Control::PrintPages]] to print a documents pages. |
− | * [[PXV:IPXV_Control_EnableEventListening|IPXV_Control::EnableEventListening]] - | + | * [[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 | + | * [[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]] - | + | * [[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:
The control's event sink interface is:
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::OpenDocFromPath/IPXV_Control::Src to open a document from the specified source file name.
- IPXV_Control::PrintPages to print a documents pages.
- IPXV_Control::EnableEventListening - enable's 'listening' for necessary Editor events.
- IPXV_Control::CurrentPage/IPXV_Control::GoToNextPage/IPXV_Control::GoToDestination - to navigate pages.
- IPXV_Control::Inst - provides access to the main object of the SDK to expose available functionality.