Q: I need to convert PDF documents into a proprietary CAD format. I
was experimenting with your Pdf2Svg product, and then parsing the SVG
with a custom parser. Unfortunately this binary to text processseems
to be very inefficient. Do you offer any products that would allow us
access to the PDF DOM directly? If so, could you provide links to some
examples we could look over?
A: You can use PDFNet SDK (www.pdftron.com/pdfnet) to parse existing
PDFs for conversion, document import, viewing, printing, etc. PDFNet
SDK is used in a number of leading CAD applications (please see
http://www.pdftron.com/whypdftron/customers.html for a sample of our
Using PDFNet should be much simpler than writing a custom SVG parser
and would be also less error prone (since certain PDF features do not
have direct SVG representation). Both PDF2SVG and all of our other
products are based on PDFNet SDK.
As a starting point you may want to take a look at ElementReader and
ElementReaderAdv sample projects: