Skip to main content

Working with FormXObjects

FormXObjects in PDFs are reusable content streams that can be referenced multiple times throughout a document. They're commonly used for templates, headers, footers, and watermarks.


Understanding FormXObjects

FormXObjects (also called XObjects) are self-contained graphical elements that can be:

  • Reused across multiple pages
  • Transformed (scaled, rotated, positioned)
  • Referenced multiple times without duplicating content

Common use cases:

  • Company logos and branding
  • Page headers and footers
  • Watermarks
  • Template overlays

Working with FormXObjects

from pdfdancer import PDFDancer

# Content for working with FormXObjects will be added here
# as the API evolves

Next Steps