How can I can display a PDF file within HTML5 Canvas?

1,102 views
Skip to first unread message

Support

unread,
Nov 2, 2010, 3:15:46 PM11/2/10
to PDF2SVG
Q: Does PDFTron have a solution that can display a PDF file within
HTML5 Canvas (with vector and text information - not just image).
Thank you.

---------------------
A: Since HTML5 supports SVG you could use
‘pdftron.PDF.Convert.ToSvg()’ in PDFNet SDK Convert Add-on (http://
www.pdftron.com/pdfnet/) or PDF2SVG utility (http://www.pdftron.com/
pdf2svg/) to convert from PDF to SVG.

HTML5 Canvas is not a document format but a drawing API, in case you
would like to draw SVG on Canvas there are a number of projects (e.g.
http://code.google.com/p/lindenb/wiki/SVGToCanvas) that are working
towards drawing SVG on HTML5 Canvas.
Reply all
Reply to author
Forward
0 new messages