Please enable JavaScript to view this site.

Navigation: Developer Information > Command Line Interface

Command Line SVG To PDF

Scroll Prev Top Next More

SVG To PDF Command Line Format

 

win2pdfd.exe svg2pdf "sourcesvg" "destpdf"

win2pdfd.exe svg2pdf "sourcesvg" "destpdf" "papersize"

 

 

Convert the SVG file specified by "sourcesvg" to a PDF file named "destpdf".

 

If the "papersize" is specified, it can be one of:

letter

letter-landscape

legal

legal-landscape

tabloid

tabloid-landscape

A2

A2-landscape

A3

A3-landscape

A4

A4-landscape

A5

A5-landscape

CSheet

CSheet-landscape

DSheet

DSheet-landscape

ESheet

ESheet-landscape

 

The "-landscape" papersize variations change the orientation to landscape.

 

Any file names that contain spaces must be enclosed with quotation marks.

 

This feature requires a licensed version of Win2PDF. Contact us for a time limited evaluation license.

 

Returns 0 on success, and a Windows system error code on failure.