Documents for PDF .NET Edition
GrapeCity Documents PDF Viewer / Licensing and Redistribution
In This Topic
    Licensing and Redistribution
    In This Topic

    License Information

    GrapeCity Documents for GcDocs PDF Viewer supports the following types of license:

    Evaluation License

    You can obtain a free 30-day evaluation key by contacting The evaluation version is fully functional and displays the below watermark:

    'Powered by GrapeCity Documents PDF Viewer. Your temporary deployment key expires in [x] days.'

    The evaluation key will allow you to develop and test your application on both your development machine and staging server for 30 days.


    Once you purchase the license, you will receive a license key that removes all watermarks.

    How to apply your license key

    To apply evaluation/production license in GcDocs PDF Viewer, set GcPdfViewer Deployment key to GcPdfViewer.License property before creating and initialising GcPdfViewer:

    Copy Code
         // Add your license
         GcPdfViewer.LicenseKey = 'your_license_key';
         // Add your code
         window.onload = function(){
          const viewer = new GcPdfViewer("#viewer1", { file: 'helloworld.pdf' });

    This must precede the code that references the js files:

    Copy Code
    <!DOCTYPE html>
    <html lang="en">
        <meta charset="utf-8">
        <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
        <meta name="theme-color" content="#000000">
        <title>GC Viewer Demo | PDF Plugin</title>
            function loadPdfViewer(selector) {
                GcPdfViewer.LicenseKey = 'your_license_key';
                var viewer = new GcPdfViewer(selector, { renderInteractiveForms: true /*, documentListUrl: "/documentslist.json" */ });
    <body onload="loadPdfViewer('#root')">
    <div id="root"></div>
    <script type="text/javascript" src="gcpdfviewer.js"></script><script type="text/javascript" src="gcpdfviewer.vendor.js"></script></body>



    Please review this information concerning redistribution of GcDocs PDF Viewer.

    Script Files

    CSS Files