Project

ChartForgeX

Render deterministic charts, dashboards, topology, hierarchy, and report visuals directly from .NET.

Stars 45
Forks 2
NuGet downloads 48,107
Release ChartForgeX-v1.7.0
Language: HTML Updated: 2026-09-02

API Reference

Class

TopologyIconSvgPackImporter

Namespace ChartForgeX.Topology

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 required
The source directory containing SVG files.
options ChartForgeX.Topology.TopologyIconSvgPackImportOptions required
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 required
The SVG file path.
packId System.String required
The containing pack id used to isolate SVG ids.
iconId System.String required
The containing icon id used to isolate SVG ids.
stripDoctypeDeclarations System.Boolean required
Whether public DOCTYPE declarations should be stripped before XML parsing.

Returns

Renderable inline SVG artwork.