Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

API Reference

Detailed API documentation is generated from source code.

Rust API

Full Rust API documentation with examples:

Rust API Documentation

Generated with cargo doc. Includes:

  • All public types and functions
  • Module documentation
  • Code examples
  • Type signatures

Generate Locally

cargo xtask docs --target rust --open

Node.js API

TypeScript definitions with JSDoc comments:

Node.js API Documentation

Generated with TypeDoc. Includes:

  • All exported functions and classes
  • Type definitions
  • Parameter descriptions

Generate Locally

cargo xtask docs --target node --open

Python API

Python type stubs with docstrings:

Python API Documentation

Generated with pdoc. Includes:

  • All classes and functions
  • Type hints
  • Docstrings

Generate Locally

cargo xtask docs --target python --open

Quick Reference

Core Types

TypeRustNode.jsPython
ConverterConverterConverterConverter
PoolConverterPoolConverterPoolConverterPool
ResultPdfResultPdfResultPdfResult
OptionsPdfOptionsPdfOptionsPdfOptions

Functions by Feature

FeatureFunctions
Conversionhtml_to_pdf, url_to_pdf
Watermarksadd_watermark, add_watermarks
Bookmarksadd_bookmarks, extract_bookmarks
Annotationsadd_annotations, list_annotations, remove_annotations
Encryptionencrypt_pdf, decrypt_pdf
Signingsign_pdf, sign_pdf_visible, verify_signatures
Formsadd_form_fields, validate_form_fields
PDF/Avalidate_pdfa, add_pdfa_metadata
PDF/UAvalidate_pdfua, add_pdfua_metadata