IntroductionQuickstartRender Options
SnapHTMLSnapHTML

Render Options

Common rendering options for PDF and image generation.

Render Options

PDF Endpoint

  • format: A4 | A3 | Letter | Legal
  • header: text and alignment
  • footer: text and alignment
  • logo: dataUrl, position, and size

Image Endpoint

  • type: png | jpeg
  • fullPage: capture full page
  • quality: JPEG quality (1-100)
  • viewportWidth and viewportHeight

Quickstart

Start rendering HTML and URL to PDF or image in minutes.

On this page

Render Options
PDF Endpoint
Image Endpoint