Skip to main content Skip to footer
VB.NET PDF API Examples

A Feature-Rich PDF API Library for VB.NET Development

  • Generate, load, edit, and save PDF files with Visual Basic (VB).NET Code
  • Render existing URLs as PDF files
  • HTML template in VB.NET and conversion to dynamic PDFs
  • Merge multiple PDF files into one document in VB.NET
  • Load PDF documents with annotations, attachments, and outlines
  • Multiple options for optimizing PDF documents
  • Edit, encrypt, watermark or turn PDF documents into plain text with VB.NET
  • Includes a JavaScript PDF Viewer to view and optionally edit PDF documents with two options - Client-based PDF editing with Wasm and Server-based editing with DsPdf.
Download Free Trial (v 8.0.0)

Overview

A VB.NET PDF document API library is a programming interface that allows developers to programmatically create and manipulate PDF documents at scale. Document Solutions for PDF (DsPdf) is a solution that allows developers to import/export, create templates, and deploy PDFs across desktop applications.

Benefits of a VB.NET PDF API

Feature Rich API

Security

User and owner passwords protection. Allow edit, copy, printing, and digital signatures along with encryption and decryption for VB.NET.

Complete Text Support

Advanced Text Handling

Create PDF templates in VB.NET with special character support, open and standard PDF type fonts supported. Full support for creating PDF in multiple languages.

Document and Page

Document and Page

Add, delete, copy, and move pages between PDFs. Attach document-level file attachments, change page size and orientations, and split and merge documents.

Redaction Technology

Redaction Technology

Confidently remove and obscure sensitive data within PDF files. Redact specific words, images, pages, and more.

PDF to Image

PDF to Image

Convert PDF files to JPEG, TIFF, PNG, and BMP. Control image output, such as image size, DPI, aspect ratio, and more.

PDF Data Extraction

PDF Data Extraction

Search and extract text, images, and metadata from PDF files for automation, editing, indexing, and more.

Redact Content from PDFs in VB .NET

Redact Content from PDFs in VB .NET

Mark and remove sensitive, confidential content from PDF documents with redact annotations. The marked content can be erased or masked with a rectangular or polygonal reaction area.

Learn More TRY DEMO
Programmatically convert HTML to PDF using VB .NET PDF API

Convert HTML to PDF with No Dependencies

  • Render a URL or HTML string to PDF
  • No dependency on GPL/LGPL licensed software
  • Use the same browser instance to render multiple pages
  • Modify/replace the HTML page content
Learn More TRY DEMO

View or Add Rich Media

View PDF files having embedded media content. Or create a PDF by adding audio and video files along with other content.

Try Demo Learn More
Advanced Font and Language Support in the VB .NET PDF API

Advanced Font and Language Support

Dozens of fonts and options support various styles and multiple languages, including Arabic, Hebrew, Hindi, and Japanese.

Learn More TRY DEMO
PDF Digital Signatures in VB .NET

PDF Digital Signatures in VB .NET

Implement signatures with image-based visual signatures, or digitally for document security and workflow management using X509 certificates. Use incremental updates to add multiple signatures to PDFs.

Learn More TRY DEMO
Full PDF Annotations Support in C#

Full Annotations Support

Annotations are fully supported for PDF Spec 2.0, including adding, modifying extracting, and deleting annotations from documents.

Learn More TRY DEMO
Work with PDF Fillable Forms in VB

Support for PDF-Based Fillable Forms

DsPdf simplifies PDF form creation and management. It enables users to add, modify, and delete various form fields like text, checkboxes, radio buttons, and signatures, making it easy to create interactive, fillable forms within your PDF documents. Additionally, DsPdf offers seamless import and export of form data for efficient data handling.

Learn More Try Demo
Programmatically Create Tables with Complex Layouts using VB.NET

Draw Complex Table Layouts on PDFs

Make use of new TableRenderer API to create tables with complex layout, merge cells, rotate text direction in cells and draw custom content in the cells.

Learn More
Work with encrypted PDF without specifying password - VB .NET PDF API

Work with Encrypted PDF Files without Specifying the Password

Edit and save an encrypted PDF by either adding new objects or read/write properties provided they are not based on PDF strings.

Learn More

Client-Side and Server-Side PDF Solution

JavaScript PDF Viewer

DsPdf comes with a Standard license for Document Solutions JavaScript PDF Viewer (DsPdfViewer). Together they are a powerful PDF solution that provides robust functionality for both client-side and server-side PDF processing.

With DsPdf, users can easily create, modify, and manipulate PDF documents programmatically on the server-side using the .NET platform.

DsPdfViewer offers a feature-rich and customizable PDF viewer for client-side PDF viewing. The DsPdfViewer also offers a Professional license enabling features such as document editing, PDF form-filling, collaborative editing capabilities, and much more.

The DsPdfViewer Professional version provides two editing options - server based (requiring connection to a .NET sever running SupportApi and DsPdf), and a client-only option with Wasm editing.

Learn More Try Demos

Top VB.NET PDF API Features

Quick Start with VB.NET PDF API

Quick Start

This quick tutorial walks you through creating a simple "Hello, World!" app that uses DsPdf to generate and save a PDF file.

LEARN MORE
PDF Document Properties

Document Properties

Make viewing faster with linearized PDFs. Documents properties include metadata, compression, and font embedding behavior. Restrict printing, copying, and PDF editing.

LEARN MORE
Print PDF using VB.NET

Print PDF Documents to Printer

Print PDF document directly to a printer on Windows platform



LEARN MORE
PDF Font Support

Fonts

Create, initialize, and use the Font Collection class to manage and use when rendering texts.


LEARN MORE
PDF Page Headers

Page Headers

Print page headers and footers in PDF documents. Organize pages by headings to help users get a sense of the page’s organization and structure.

LEARN MORE
Programmatically Merge PDFs using VB.NET

Merge Pages

Combine and organize multiple documents into one PDF–making it simple to share and send render pages of one PDF to another.

LEARN MORE
PDF Attachments

Attachments

Attach photos, text, drawings, PDFs, and other file types (including AcroForm) to a PDF. If you move the PDF to a new location, the attachments move with it.

LEARN MORE
Render Text to a PDF using a VB.NET PDF API

Text

Review the basics of rendering text in DsPdf (DrawString and DrawTextLayout), character formatting, paginated text, text trimming, word, character wraps, and much more.

LEARN MORE
Add Graphics to a PDF using VB.NWT

Graphics

Use linear and radial gradient brushes.




LEARN MORE
Add Images to a PDF in VB.NET Apps

Images

Generate pages of slides from all images in a directory, extract and remove images from PDF Documents. 

LEARN MORE
Draw Complex Table Layouts on PDFs using VB.NET PDF API

Draw Complex Table Layouts

Use the new TableRenderer API to create tables with complex layouts, merge cells, rotate text direction in cells, and draw custom content in the cells.

Learn More

Automate PDF Report Generation with HTML Templates and a VB.NET PDF API

PDF Report Templates

Automate and customize documents and report generation. PDF Templates allow you to bind HTML templates to various data sources by using report templates that generate PDF files from HTML.

Learn More
PDF Annotation Support in VB.NET PDF API

Annotations

Create, edit, or delete annotations from existing PDF documents. Several annotations are supported from PDF specifications.

LEARN MORE
Advance Text in PDFs

Advanced Text

Design magazine style, multi-column page layouts with balanced columns and outlines. Multi-language text is supported, including RTL, east-Asian languages, and vertical text.

LEARN MORE
Programmatically add Rich Media in PDFs using VB.NET and a .NET PDF API

Rich Media

Create text links to a URL and add outline entries. Link thumbnails to full-sized images, article threads, and destinations.

LEARN MORE
Programmatically optimize PDF file sizes in VB.NET

PDF Optimization

Optimize PDF file size with different saving and compression options.

LEARN MORE
Create PDF Navigation Links in VB.NET Apps

Navigation

Create text links to a URL and add outline entries. Link thumbnails to full-sized images, article threads, and destinations.

LEARN MORE
Convert HTML Files to PDF using a VB.NET PDF API

HTML to PDF

Convert HTML files or strings to PDF, or add HTML fragments to PDF documents along with other content.

LEARN MORE
Programmatically Create Tagged PDFs

Tags

Create tagged (structured) PDFs and attach them to individual paragraphs.

LEARN MORE
Extract PDF Data using a VB.NET PDF API

Extract

Load existing PDF into a DsPdf and see how text, paragraphs, and tables can be inspected or extracted.

LEARN MORE
Apply PDF Redaction using VB.NET

Redaction

Completely remove content from PDF documents, including quadrilateral and polygonal redaction areas.

LEARN MORE

Create Fillable PDF Forms in VB.NET Apps

Form Fields

Create AcroForm fields include textbox, checkbox, radio button, combtext, combo box, list box, and buttons. Also, set field format for TextField, CombTextField, ComboBoxField.

LEARN MORE
Programmatically Work with PDF Layers

PDF Layers

Add, edit and remove layers programmatically. Associate PDF content (part of content stream, FormXObject, Annotation or PDF document) with a layer in PDF document.

LEARN MORE
Render Barcodes on PDFs using a VB.NET PDF API

Barcodes

Render samples of all barcode symbologies supported by the DsBarcode library.


LEARN MORE
Digitally Sign PDFs

Digital Signatures

Digitally sign PDFs, inspect signature properties, or remove existing signatures. Add Image signatures to PDF Documents.





pdf-signatures
Programmatically Encrypt and Decrypt PDF Documents

Security

Encrypt or decrypt PDF Documents. When a document is encrypted, its contents become unreadable. An authorized user can decrypt the document to obtain access to the contents. If a PDF document is password encrypted, the user must enter the password in order to view the document.

LEARN MORE
Generate ZUGFeRF Compliant PDFs using C#

ZUGFeRD Compliant

ZUGFeRD is a standard for electronic invoices in PDF/A format and based on the ISO standard. Create ZUGFeRD 1.x compliant invoices and read ZUGFeRD data from existing PDFs.



LEARN MORE
Programmatically Encrypt/Decrypt PDFs using VB.NET

Password-Protected PDF Files

Password-protected PDF files can be opened through the password input dialog or even without specifying the password.

LEARN MORE
JavaScript PDF Viewer

JavaScript PDF Viewer

Check out even more great features of Document Solutions for PDF Viewer.



LEARN MORE
Linearize Existing PDF Documents

Linearize Existing PDF Documents

Linearize any existing PDF document and save the document in any 3 modes - Default, Linearize and Incremental Update (for signing existing signed document)

LEARN MORE
Draw SVG on PDF Documents

Draw SVG on PDF Documents

Draw the SVG Image from file to PDF document using DsPdf.

LEARN MORE
Convert PDFs to Images using VB.NET

PDF to Images

Save a PDF as a multi-page TIFF, JPEG, PNG, GIF, or BMP image to save space and open easily.

LEARN MORE
Programmatically Read PDF Structure Tags

Read Structure Tags

Extract whole logical structure of the PDF document, parsed the tags, glean the data that needs to be extracted.

LEARN MORE

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