[]
Document Solutions for PDF supports the following types of license:
After downloading the product, the product works in unlicensed mode. The following limitations are imposed when the product is used without license:
Only 5 pages of the PDF file can be loaded for analyzing.
When saving a PDF file, a watermark is displayed on all the pages in that file.
'Unlicensed copy of Document Solutions for PDF. Loading is limited to 5 pages. Contact us.sales@mescius.com to get your 30-day evaluation key.'
!type=note
Note that if you run a sample that uses a signed PDF without a valid DsPdf license, the original signature in the generated PDF is invalidated. This happens because a license header is added to the PDF in such cases which changes the original signed document.
DsPdf evaluation license is available to users for 30 days to evaluate the product. If you want to evaluate the product, you can ask for evaluation license key by sending an email to us.sales@mescius.com.
The evaluation version has an expiration date that is determined when an evaluation key is generated. After applying the evaluation license key, you can use the complete product until the license expiry date.
After the expiry date, the product works in unlicensed mode with the above mentioned limitations.
In such case, following watermark is displayed in the PDF file:
'Created with expired evaluation copy of Document Solutions for PDF. Loading is limited to 5 pages. Contact us.sales@mescius.com to purchase license.'
!type=note
Note that if you run a sample that uses a signed PDF without a valid DsPdf license, the original signature in the generated PDF is invalidated. This happens because a license header is added to the PDF in such cases which changes the original signed document.
DsPdf production license is issued at the time of purchase of the product. If you have a production license, you can access all the features of DsPdf without any limitations.
To apply evaluation/production license in DsPdf, the long string key needs to be copied to the code in one of the following two ways.
Pass it as an argument to the GcPdfDocument's ctor:
var doc = new GcPdfDocument("key")
This licenses the instance being created.
Call a static method on GcPdfDocument:
GcPdfDocument.SetLicenseKey("key");
This licenses all the instances while the program is running.
!type=note
Note: When rendering HTML pages to PDF, GcHtmlBrowser class also needs a license to avoid limitations. To apply a license key, pass the DsPdf production key as a parameter in ApplyGcPdfLicenseKey method or the static SetGcPdfLicenseKey method. For more information, refer to Render HTML to PDF.