Stirling PDF icon

Stirling PDF

Merged API: Stirling PDF - Processing API + Stirling PDF - Management API + Stirling PDF - System API

Actions260

Convert → Convert Svg To Pdf

AI-generated

Summary

Convert one or multiple SVG files to PDF format, using each SVG's inherent dimensions to determine page size, defaulting to A4 if unspecified.

Inputs

  • File Input (required) — One or multiple SVG file contents or references to be converted to PDF format.
  • Combine Into Single Pdf (required) — Boolean flag to choose whether to combine all SVG files into a single PDF (each SVG on a separate page) or generate separate PDF files for each SVG.

Output shape

One or multiple PDF file(s) depending on whether combined into a single PDF or not.

The output PDF(s) have page sizes derived from each SVG's dimensions or default to A4. When combining, all SVGs appear as separate pages in one PDF; otherwise, each SVG produces an individual PDF file.

Examples

Example 1: Convert a single SVG file to its own PDF file.

Set File Input with the SVG content and Combine Into Single Pdf to false.

Example 2: Convert multiple SVG files into one combined PDF document.

Provide multiple SVG files in File Input and set Combine Into Single Pdf to true.

Links

Discussion