Class Names and Namespaces

<< Click to Display Table of Contents >>

Navigation:  How To Use the VPE Control > VPE .NET Control >

Class Names and Namespaces

Previous pageReturn to chapter overviewNext page

As mentioned earlier, the VPE.NET Control is included in two different versions:

The Winforms .NET Control and the (WebForms) .NET WebServerControl, which is a subset of the Winforms .NET Control. The .NET WebServerControl does not have any events, properties or methods which are related to the graphical user interface of VPE, since it is intended solely to be executed on servers within ASP.NET and therefore does not provide a GUI. All events, properties and methods not supported by the VPE .NET WebServerControl are marked throughout this manual.

The Winforms .NET VPE Control has the class name VpeControl.
It is derived from System.Windows.Forms.UserControl.

The VPE .NET WebServerControl has the class name VpeWebControl.
It is derived from System.Web.UI.Control.

Depending on the edition of VPE you are using, the namespace of the control is:

Edition

Winforms Namespace

WebServerControl Namespace

Community

IDEALSoftware.VpeCommunity

IDEALSoftware.VpeWebCommunity

Standard

IDEALSoftware.VpeStandard

IDEALSoftware.VpeWebStandard

Enhanced

IDEALSoftware.VpeEnhanced

IDEALSoftware.VpeWebEnhanced

Professional

IDEALSoftware.VpeProfessional

IDEALSoftware.VpeWebProfessional

Enterprise

IDEALSoftware.VpeEnterprise

IDEALSoftware.VpeWebEnterprise

Interactive

IDEALSoftware.VpeInteractive

IDEALSoftware.VpeWebInteractive

 

You will notice that the class name of the VPE Control within the Winforms category is the same for each edition, i.e. it is VpeControl for the Standard Edition, as well as for the Enhanced Edition, the Professional Edition, etc. The same applies to the WebServerControl category, where the class name is VpeWebControl for all editions.

This makes it simple for you to migrate your source code from one edition of VPE to another, if you should decide later to upgrade to a higher edition. And since the VPE .NET WebServerControl constitutes a subset of the Winforms VPE Control, the migration of your source code from one platform to the other can be done within seconds.

 

NOTE:When using the VpeWebControl, always set the property EnableMultiThreading = true.

The call-sequence must be:

OpenDoc()
EnableMultiThreading = true