API Reference
Class
TopologyIconSvgPackImporter
Imports dependency-free SVG artwork into topology icon packs.
Inheritance
- Object
- TopologyIconSvgPackImporter
Methods
ImportSvgPackFromDirectory(System.String directoryPath, ChartForgeX.Topology.TopologyIconSvgPackImportOptions options) #Imports SVG files from a folder into a topology icon pack.
Parameters
- directoryPath System.String
- The source directory containing SVG files.
- options ChartForgeX.Topology.TopologyIconSvgPackImportOptions
- Optional import settings and provenance metadata.
Returns
The imported pack plus per-file diagnostics.
LoadSvgArtworkFromFile(System.String path, System.String packId, System.String iconId, System.Boolean stripDoctypeDeclarations) #Loads one SVG file as sanitized inline artwork for rendering.
Parameters
- path System.String
- The SVG file path.
- packId System.String
- The containing pack id used to isolate SVG ids.
- iconId System.String
- The containing icon id used to isolate SVG ids.
- stripDoctypeDeclarations System.Boolean
- Whether public DOCTYPE declarations should be stripped before XML parsing.
Returns
Renderable inline SVG artwork.