Skip to main content Skip to footer
C# .NET PDF API Library Examples

Feature-Rich JavaScript PDF API Library for Total Document Control

Document Solutions for PDF JS allows you to easily manage PDF documents within JavaScript applications with no dependencies on Adobe Acrobat.

Download Free Trial (v 9.1.0) Request A Demo

Missed CodeClinic Live? Watch the replay and learn how to bring Intelligent PDF Automation to your .NET apps! Watch Now ≫

JavaScript PDF API Library Overview

Document Solutions for PDF JS allows developers to load, create, modify, save, and convert PDFs, create AcroForms (PDF Forms), and deploy PDFs across web applications.

Ultimate JavaScript PDF API Library Solution

JavaScript PDF API Library

Comprehensive Feature Rich API for Adobe PDFs

Generate PDF forms with everything from signatures to security features. Or create PDF files with everything from text, images, audio and video. You can add, delete, copy and move pages, change page sizes, orientation, generate linearized PDFs, add annotations, redact content from PDF documents, and compress PDF files.

WebAssembly-Powered Document Processing for JavaScript

Run document processing at scale with a WebAssembly-powered engine built for modern JavaScript environments. Designed for high performance and low memory usage, it enables fast, reliable handling of PDFs and images across browsers and server-side applications.

WebAssembly-Powered Document Processing for JavaScript
Complete Browser-Based PDF Solution for Enterprise Developers

Complete Browser-Based PDF Developer Solution

A Document Solutions for PDF JS purchase includes a Standard viewer license for the JavaScript PDF Viewer (DsPdfViewer), offering robust client and server-side PDF processing. Devs can programmatically create and modify PDFs within the browser, while DsPdfViewer delivers a customizable PDF viewing experience on the client side. The optional Professional viewer license adds advanced features like document editing, form-filling, and collaborative tools, available through server-based or client-only (Wasm) editing options.

JS PDF API Library Quick Start Guide

Quick Start Guide
1. Download the Latest Release of Document Solutions PDF JS.

Download Full Trial
or Install from npm: npm i @mescius/ds-pdf

2. Configure WebAssembly.
import { DsPdfConfig } from "@mescius/ds-pdf";
import wasmUrl from "@mescius/ds-pdf/assets/DsPdf.wasm?url";

DsPdfConfig.wasmUrl = wasmUrl;
3. Generate a PDF
import { connectDsPdf, ObjectManager, PdfDocument } from "@mescius/ds-pdf";

await connectDsPdf();
const om = new ObjectManager();
const doc = new PdfDocument(om);
const page = doc.newPageContext();
page.drawText({ text: "Hello from DsPdfJS!", fontSize: 20 }, 50, 50);

const blob = new Blob([doc.savePdf()], { type: "application/pdf" });
const url = URL.createObjectURL(blob);

const link = document.createElement("a");
link.href = url;
link.download = "example.pdf";
link.click();

om.dispose();

Learn more with our complete Quick Start guides.

Easy Licensing & Distribution

Access your Document Solutions Distribution Key(s) through your MESCIUS account after purchase.

Licensing FAQs

Document Solutions for PDF JS offers flexible tiered licensing options for single-hostname, multi-hostnames or unlimited domains, and individual and team licenses.

Learn More About Licensing

Request a Trial Key

Our sales team can provide 30-day trial Distribution Keys for Document Solutions for PDF JS and the JavaScript PDF Viewer, DsPdfViewer, upon request, allowing you to deploy our APIs during your trial period.

Contact Our Sales Team

Have Questions? We're Here to Help

Email us.sales@mescius.com to schedule a call with our product specialists through support to discuss your project needs or request a personalized demo with the Product Manager.

Contact Support

Award-Winning Products and First-Class Support

Five Star Rating

"Great value, excellent functionality and robust components that we depend on."

TRUSTED CUSTOMER

Five Star Rating

"GrapeCity [now MESCIUS] support sets a benchmark that all of the IT industry should try to reach. They are responsive, professional, and provide detailed information and examples to enable developers to move through issues without delay... Keep up the good work!"

TRUSTED CUSTOMER

Five Star Rating

"As a Developer I value much the provided User Support. More than once a quick Hotfix was delivered even just for (valuable) feature requests."

TRUSTED CUSTOMER

PDF and Print/Preview Components and Tools - Visual Studio Magazine Award Winner - Document Solutions for PDF Document Solutions for PDF (#98) - Component Source 2025 Awards

Trusted by the World's Leading Companies

"The speed to build what we needed and the level of ease of use of controls are why we chose GrapeCity [now known as MESCIUS]. It was a perfect fit."

Spiro Skias - CGI