# TopologyIconSvgPackImportOptions

Defines options for importing a folder of SVG files as a topology icon pack.

 Class  

`ChartForgeX.Topology`

**Namespace**

`ChartForgeX.Topology`

**Assembly**

`ChartForgeX`

**Source**

[TopologyIconSvgPackImport.cs:47](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyIconSvgPackImport.cs#L47)

**Modifiers**

sealed

Defines options for importing a folder of SVG files as a topology icon pack.

## Inheritance

- object
- TopologyIconSvgPackImportOptions

## Usage

 Explore 1 API references to this type 

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

### Accepted by parameters 1

- Method [TopologyIconSvgPackImporter.ImportSvgPackFromDirectory](/api/chartforgex-topology-topologyiconsvgpackimporter/#method-importsvgpackfromdirectory-string-chartforgex-topology-topologyiconsvgpackimportoptions) parameter `options`

 Filter members   

    Show inherited   

 

## Constructors

 `public TopologyIconSvgPackImportOptions()` [#](#constructor-ctor) 

[TopologyIconSvgPackImport.cs:47](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyIconSvgPackImport.cs#L47)

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

## Properties

 `public string? PackId { get; set; }` [#](#property-packid) 

[TopologyIconSvgPackImport.cs:20](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyIconSvgPackImport.cs#L20)

Gets or sets the imported pack id. When omitted, the source directory name is used.

 `public string? PackLabel { get; set; }` [#](#property-packlabel) 

[TopologyIconSvgPackImport.cs:23](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyIconSvgPackImport.cs#L23)

Gets or sets the imported pack label. When omitted, the source directory name is humanized.

 `public string? Vendor { get; set; }` [#](#property-vendor) 

[TopologyIconSvgPackImport.cs:26](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyIconSvgPackImport.cs#L26)

Gets or sets the optional vendor label.

 `public string? Version { get; set; }` [#](#property-version) 

[TopologyIconSvgPackImport.cs:29](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyIconSvgPackImport.cs#L29)

Gets or sets the optional pack version.

 `public string? SourceUrl { get; set; }` [#](#property-sourceurl) 

[TopologyIconSvgPackImport.cs:32](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyIconSvgPackImport.cs#L32)

Gets or sets the source repository or package URL.

 `public string? SourceRevision { get; set; }` [#](#property-sourcerevision) 

[TopologyIconSvgPackImport.cs:35](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyIconSvgPackImport.cs#L35)

Gets or sets the source repository commit, tag, or release identifier.

 `public string? SourceLicense { get; set; }` [#](#property-sourcelicense) 

[TopologyIconSvgPackImport.cs:38](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyIconSvgPackImport.cs#L38)

Gets or sets the source license label.

 `public string? SourceLicenseUrl { get; set; }` [#](#property-sourcelicenseurl) 

[TopologyIconSvgPackImport.cs:41](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyIconSvgPackImport.cs#L41)

Gets or sets the source license URL.

 `public string? SourceLicensePath { get; set; }` [#](#property-sourcelicensepath) 

[TopologyIconSvgPackImport.cs:44](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyIconSvgPackImport.cs#L44)

Gets or sets the source license file path, when available.

 `public bool Recursive { get; set; }` [#](#property-recursive) 

[TopologyIconSvgPackImport.cs:47](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyIconSvgPackImport.cs#L47)

Gets or sets whether child folders should be scanned.

 `public string SearchPattern { get; set; }` [#](#property-searchpattern) 

[TopologyIconSvgPackImport.cs:50](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyIconSvgPackImport.cs#L50)

Gets or sets the SVG file search pattern.

 `public TopologyNodeKind DefaultNodeKind { get; set; }` [#](#property-defaultnodekind) 

[TopologyIconSvgPackImport.cs:53](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyIconSvgPackImport.cs#L53)

Gets or sets the default topology node kind for imported artwork icons.

 `public TopologyIconShape DefaultShape { get; set; }` [#](#property-defaultshape) 

[TopologyIconSvgPackImport.cs:56](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyIconSvgPackImport.cs#L56)

Gets or sets the default renderer-owned fallback shape for imported artwork icons.

 `public ChartColor DefaultColor { get; set; }` [#](#property-defaultcolor) 

[TopologyIconSvgPackImport.cs:59](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyIconSvgPackImport.cs#L59)

Gets or sets the default icon color used when a host falls back to renderer-owned glyphs.

 `public bool OmitSvgFolderFromCategory { get; set; }` [#](#property-omitsvgfolderfromcategory) 

[TopologyIconSvgPackImport.cs:62](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyIconSvgPackImport.cs#L62)

Gets or sets whether folders named SVG should be omitted from generated categories.

 `public string? CategoryPrefix { get; set; }` [#](#property-categoryprefix) 

[TopologyIconSvgPackImport.cs:65](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyIconSvgPackImport.cs#L65)

Gets or sets an optional category prefix for imports split by source folder.

 `public bool SkipUnsafeSvg { get; set; }` [#](#property-skipunsafesvg) 

[TopologyIconSvgPackImport.cs:68](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyIconSvgPackImport.cs#L68)

Gets or sets whether unsafe SVG files should be skipped instead of imported as validation errors.

 `public bool StripDoctypeDeclarations { get; set; }` [#](#property-stripdoctypedeclarations) 

[TopologyIconSvgPackImport.cs:71](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyIconSvgPackImport.cs#L71)

Gets or sets whether public DOCTYPE declarations should be stripped before XML parsing.

 `public bool AllowNestedSvgRoot { get; set; }` [#](#property-allownestedsvgroot) 

[TopologyIconSvgPackImport.cs:74](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/Topology/TopologyIconSvgPackImport.cs#L74)

Gets or sets whether a single nested SVG element should be imported from wrapper markup.

<!-- PowerForge markdown artifact sha256:C1945708AE6BE8C41361BDCB73A0E1BEE7B69F50DEFBD231F2ADBE684B3F8101 -->
