Question:
I would like to convert SVG to PDF
It seems like your product can convert PDF to SVG (with
pdftron.PDF.Convert.ToSvg()) but I also need to convert SVG to PDF.
I need the svg to perform in addition to the standard features the
following;
- Bi-directional support
- Masking with png transparency
- Text rotation (width bidi)
- Vertical alignment/baseline-shift
Answer:
You could use PDFNet SDK with HTML2PDF convert add-on as shown in
the following sample:
http://www.pdftron.com/pdfnet/samplecode.html#Html2Pdf
HTML2PDF includes built-in support for embedded SVG.
For example you can try converting http://apike.ca/prog_svg_webp to
PDF using pdftron.PDF.Html2Pdf
You could convert stand alone SVG urls by wrapping them in a small
HTML dummy page (e.g. a memory string).
For example:
`
`Or
`
`