Show/Hide Toolbars

RiverSoftAVG Products Help

Navigation: RiverSoftAVG SVG Component Library (RSCL) > Getting Started

Using the TSVGDocument class to read SVGs and paint to a TCanvas (VCL and FMX)

Scroll Prev Top Next More

The TSVGDocument class is the base class for parsing a SVG and generating TSVGxxxElement classes to describe the SVG. Use the TSVGDocument class to load an SVG and paint the SVG to a TCanvas.  

 

The TSVGDocument is only available at run-time.  The TRSSVGDocument (VCL) and TRSFMXSVGDocument (FMX) components expose the TSVGDocument for loading at design-time.  To use the TSVGDocument to load an SVG, perform the following steps:

 

 

 

 

 

 

RiverSoftAVG Products Help © 1996-2016 Thomas G. Grubb