Accusoft.ImagXpress13.Net
ImageXView Constructor(IContainer,ImagXpress)
Example 




The container that implements the System.ComponentModel.IContainer interface which will contain this control.
An instance of the ImagXpress workspace component. This is the main ImagXpress component that typically must be dragged onto a form first.
Initializes a new instance of the ImageXView class.
Syntax
'Declaration
 
Public Function New( _
   ByVal container As IContainer, _
   ByVal imagXpress As ImagXpress _
)
'Usage
 
Dim container As IContainer
Dim imagXpress As ImagXpress
 
Dim instance As New ImageXView(container, imagXpress)
public ImageXView( 
   IContainer container,
   ImagXpress imagXpress
)
public: ImageXView( 
   IContainer* container,
   ImagXpress* imagXpress
)
public:
ImageXView( 
   IContainer^ container,
   ImagXpress^ imagXpress
)

Parameters

container
The container that implements the System.ComponentModel.IContainer interface which will contain this control.
imagXpress
An instance of the ImagXpress workspace component. This is the main ImagXpress component that typically must be dragged onto a form first.
Example
This sample shows how to use this constructor properly to avoid licensing issues.
public partial class Form1 : Form
{
		public Form1()
		{
			InitializeComponent();
			// Create an ImagXpress object for licensing and pass in the IContainer of the form
			Accusoft.ImagXpressSdk.ImagXpress imagXpress1 = new Accusoft.ImagXpressSdk.ImagXpress(this.components);
         //***The SetSolutionName, SetSolutionKey and possibly the SetOEMLicenseKey methods must be called to distribute the runtime***
         imagXpress1.Licensing.SetSolutionName(“YourSolutionName”);
         imagXpress1.Licensing.SetSolutionKey(12345,12345,12345,12345);
         imagXpress1.Licensing.SetOEMLicenseKey(“1.0.AStringForOEMLicensingContactAccusoftSalesForMoreInformation…”);
 
			// Create an ImageXView object and pass in the both the IContainer of the form and
			// the ImagXpress workspace component.
			Accusoft.ImagXpressSdk.ImageXView imageXView1 = new Accusoft.ImagXpressSdk.ImageXView(this.components, imagXpress1);
			this.Controls.Add(imageXView1);
		}
}
See Also

Reference

ImageXView Class
ImageXView Members
Overload List

 

 


©2019. Accusoft Corporation. All Rights Reserved.

Send Feedback