Advanced operations using JavaScript via C++

Advanced Operations is a section about how to deals with existing PDF files programatically, be they documents created with Aspose.PDF as discussed in Basic Operations, or PDFs created with Adobe Acrobat, Google Docs, Microsoft Office, Open Office or any other PDF producer.

Using Web Workers

Version 23.6 added the ability to use Web Workers:

const AsposePDFWebWorker = new Worker("AsposePDFforJS.js");

The use of Web Workers from JavaScript via C++, allows you to perform operations without blocking the interface, in a separate worker thread.

Web Workers is a simple tool for running scripts in the background. Which allows you to perform tasks without interfering with the user interface, in a separate worker thread.

You’ll learn different ways to:

  • Working with Documents - compress, split, and merge documents and make other operations with the whole document.
  • Working with Pages - add, move or remove, crop pages, stamps.
  • Metadata in PDFs - get or set meta data in documents.
  • Working with Images - insert, remove, extract image in document
  • Navigation and Interaction - deal with actions, bookmarks, navigate pages
  • Annotations - Annotations allow users to add custom content on PDF pages. You can add, delete and modify the annotation from the PDF documents.
  • Securing and Signing - protect and sign your PDF document programmatically
  • Attachments - PDF documents may contain file attachments. These attachments can be other PDF documents, or any kind of file, like audio files, Microsoft Office documents etc. You will learn how to add attachments to pdf, get the information of an attachment, and save it to file, delete the attachment from PDF programmatically with JavaScript.