ThumbnailXpress .NET FAQ

Contact Support



Q1What DLL’s do I need to distribute with my application?
Q2How do I distribute my application?
Q3How do I filter for multiple file types to load in ThumbnailXpress without having to include every file type?

Q1: What DLL’s do I need to distribute with my application?
PegasusImaging.WinForms.ThumbnailXpress1.dll

Q2: How do I distribute my application?
Please Note: You need ThumbnailXpress and ImagXpress(IX) runtime unlock codes in order to distribute applications. These are received when runtimes are purchased. If you have not received them you should Contact Sales.

A) Windows Forms Application

1) Add a call to the static UnlockControl function in the Licensing class BEFORE InitializeComponent(). For example:

For C# Developers:
PegasusImaging.WinForms.ThumbnailXpress1.Licensing.UnlockControl(1234,1234,1234,1234);
InitializeComponent();

For Visual Basic .NET Developers:
PegasusImaging.WinForms.ThumbnailXpress1.Licensing.UnlockControl(1234,1234,1234,1234)
InitializeComponent()

2) Call the UnlockRuntime and the UnlockIXRuntime functions in the Licensing class where the application begins. For example:

For C# Developers:
thumbnailXpress1.Licensing.UnlockRuntime(1234,1234,1234,1234);
thumbnailXpress1.Licensing.UnlockIXRuntime(1234,1234,1234,1234); // pass ImagXpress runtime unlock codes

For Visual Basic .NET Developers:
thumbnailXpress1.Licensing.UnlockRuntime(1234,1234,1234,1234)
thumbnailXpress1.Licensing.UnlockIXRuntime(1234,1234,1234,1234) ‘pass ImagXpress runtime unlock codes

3) Rebuild the application on the machine where the ThumbnailXpress toolkit is installed and registered.

4) Make sure to distribute the DLL mentioned in #1 above.

B) Add-on licensing

1) Add a call to the UnlockIXAddOn method in the Licensing class. For example:

For C# Developers:
thumbnailXpress1.License.UnlockIXAddOn (“licensestringhere”);

For Visual Basic .NET Developers:
thumbnailXpress1.License.UnlockIXAddOn (“licensestringhere”)

C) Web licensing

1) Add a call to the UnlockWeb function in the Licensing class. For example:

For C# Developers:
thumbnailXpress1.License.UnlockWeb(“licensestringhere”);

For Visual Basic .NET Developers:
imagXpress.License.UnlockWeb (“licensestringhere”)

Q3: How do I filter for multiple file types to load in ThumbnailXpress without having to include every file type?
Specify two or more file types in the FilenamePattern property or the SetFilterFilenamePattern method by using the following pattern syntax:

*(<extension 1>)|(<extension 2>)...

The above allows any file name with the listed extensions to be considered as part of the filter. Please refer to the specific code examples listed below where filteritem is an instance of a Filter class.

For C# Developers:
filteritem.FilenamePattern = "*(.bmp)|(.jpg)";

For Visual Basic .NET Developers:
filteritem.FilenamePattern = "*(.bmp)|(.jpg)"


Sitemap | © 2008 Pegasus Imaging Corporation. All Rights Reserved. | Privacy Statement.