(Showing Draft Content)


wijmo.pdf.security Module

Provides PDF encryption and permissions settings for the wijmo.pdf module.

Add this module on page to be able to use the wijmo.pdf.IPdfDocumentOptions.ownerPassword, wijmo.pdf.IPdfDocumentOptions.permissions and wijmo.pdf.IPdfDocumentOptions.userPassword properties while creating an instance of the wijmo.pdf.PdfDocument class:

import { PdfDocument, saveBlob } from '@grapecity/wijmo.pdf';
import '@grapecity/wijmo.pdf.security';

let doc = new PdfDocument({
   userPassword: 'abc',
   ended: (doc, args) => {
      saveBlob(args.blob, 'document.pdf');


This module incorporates modified versions of the buffer, crypto-js and saslprep libraries.