Accusoft.ImagXpress12.Net
ImageXView Constructor(IContainer)
See Also  Example Send Feedback
Accusoft.ImagXpressSdk Namespace > ImageXView Class > ImageXView Constructor : ImageXView Constructor(IContainer)




container
The container that implements the System.ComponentModel.IContainer interface which will contain this component.

Glossary Item Box

Initializes a new instance of the ImageXView class.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

container
The container that implements the System.ComponentModel.IContainer interface which will contain this component.

Remarks

The container must also contain a ImagXpress workspace component for licensing.

Example

This sample shows how to use this constructor properly to avoid licensing issues.
C#Copy Code
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 IContainer of the form that contains the
			// ImagXpress workspace component.
			Accusoft.ImagXpressSdk.ImageXView imageXView1 = new Accusoft.ImagXpressSdk.ImageXView(this.components);
			this.Controls.Add(imageXView1);
		}
}

See Also

©2013. Accusoft Corporation. All Rights Reserved.