[]
        
(Showing Draft Content)

Licensing and Redistribution

GrapeCity Documents for ImageViewer can be used under the following licenses:

  • No License

  • Evaluation License

  • Production License

No License

When downloaded, the product works with full features in unlicensed mode. The product has the following limitations when it is used without license.

Scenarios

Licensing Watermark

In the development mode, that is on deploying the application on local host, a banner with the following text is displayed on the left hand side corner:

"Powered by GrapeCity Documents Image Viewer.

You can deploy this EVALUATION version locally.

Temporary license keys are available for testing.

Email us.sales@grapecity.com"

In the production mode, that is on deploying the application on a web server or domain, an error panel with the following message appears:

"License Not Found.

You need a valid license key to run GrapeCity Documents Image Viewer.

Temporary keys are available for evaluation.

If you purchased a license, your key is in your purchase confirmation email.

Email us.sales@grapecity.com to get your temporary key or if you need assistance with an existing license.

Evaluation License

GcImageViewer is available to users for free evaluation for 30 days. To evaluate the product, you can write to us at us.sales@grapecity.com  and obtain an evaluation license key for the specified domain. The evaluation license key expires after 30 days from the day it was generated.

Scenarios

Licensing Watermark

With evaluation license, you can use all the features of the product, while it displays a banner displaying the following text:

"Powered by GrapeCity Documents Image Viewer.

Your temporary license key expires in {0} day(s)."

Once the evaluation license expires, all toolbar buttons get disabled and an error panel with the following message appears:

"Powered by GrapeCity Documents Image Viewer.

Your temporary license key has expired.

Contact us.sales@grapecity.com for help. "

If you wish to evaluate GcImageViewer without the evaluation banner on the local host before deploying it on the production server, you can request a special evaluation license by writing to us at us.sales@grapecity.com. This license lets you use all the features of the control without any banner or error frame in the development mode. If you deploy the same to a production server, nothing is displayed in the viewer and error panel showing the following text gets displayed:

"License Not Found

You need a valid license key to run GrapeCity Documents for Image Viewer.

Temporary keys are available for evaluation.

If you purchased a license, your key is in your purchase confirmation email.

Email us.sales@grapecity.com if you need assistance."

Production License

You get the production license issued at the time of purchase of GrapeCity Documents for Imaging. Once you apply a valid license key to the product, you can use all the features of GcImageViewer without any limitations, banner, error or watermark. However, if you apply license key registered for different domain or product is applied, following licensing watermarks appear.

Scenarios

Licensing Watermark

A license key is specific to the domain it was generated for. Although in the development mode, all the product features work as usual, GcImageViewer appears blank when deployed on a different domain and the product displays an error frame with the following text:

"Invalid License Key

This license key is for another Hostname(s).

Please verify the correct license for this site.

If you need assistance, please contact us.sales@grapecity.com."

If an invalid license key is entered, nothing is displayed in the viewer.

"Invalid License Key

Contact us.sales@grapecity.com to purchase a GrapeCity Documents for ImageViewer license."

If key for a different product is used, nothing is displayed in the viewer.

"This license key is for a different GrapeCity product.

Contact us.sales@grapecity.com to purchase a GrapeCity Documents for ImageViewer license.

If key for an older version product is used, nothing is displayed in the viewer.

"This license key is for an older (<oldVer>) version of GrapeCity Image Viewer.

Contact us.sales@grapecity.com to update your license.

Apply License

To apply license key to a GcImageViewer instance, you can set the long string license key obtained through e-mail to LicenseKey property of the GcImageViewer class. You must set this property before the code that references the JavaScript files and even before you create and initialize the viewer.

// Add your license
GcImageViewer.LicenseKey = 'YOUR LICENSE KEY';

// Add your code
const viewer = new GcImageViewer("#viewer1");