Working with SVG
The L_SvgNodeHandle type represents a Scalable Vector Graphics (SVG) object. LEADTOOLS supports versions 1.0 and 1.1 of the SVG specification.
You can use any of the following methods to obtain an SVG document:
- Load directly from an SVG file or stream using L_SvgLoadDocument.
- Use L_LoadSvg. This function can convert a variety of document types (such as PDF, Office formats, Text, RTF and many more) and vector types (such as DXF and DWG) as well as SVG itself to an L_SvgNodeHandle.
- Recognize any document using the LEADTOOLS OCR engine and save the result as SVG pages using L_OcrDocument_Save with the DOCUMENTFORMAT_SVG format.
After you have an L_SvgNodeHandle object, you can perform the following tasks: