Click or drag to resize

diaShapeRenderIcon Method (folderNode, Int32, Int32, String)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Renders the icon of SVG shape, to given folder using icon name or shape name

Namespace:  imbSCI.Graph.DiagramLibraries.DiaShape
Assembly:  imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntax
C#
public string RenderIcon(
	folderNode folder,
	int size = 22,
	int margin = 3,
	string filename = ""
)
Request Example View Source

Parameters

folder
Type: imbSCI.Core.files.foldersfolderNode
The folder to save icon to
size (Optional)
Type: SystemInt32
The size of rendered icon, in px
margin (Optional)
Type: SystemInt32
filename (Optional)
Type: SystemString

Return Value

Type: String
Path where icon was saved
See Also