Click or drag to resize

diaShapeRenderIcon Method (String, Int32, Int32, Boolean)

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Renders the icon of SVG shape, to given path

Namespace:  imbSCI.Graph.DiagramLibraries.DiaShape
Assembly:  imbSCI.Graph (in imbSCI.Graph.dll) Version: 0.3.70.
Syntax
C#
public string RenderIcon(
	string path,
	int size = 22,
	int margin = 3,
	bool forceSquare = false
)
Request Example View Source

Parameters

path
Type: SystemString
The path to save icon to
size (Optional)
Type: SystemInt32
The size of rendered icon, in px
margin (Optional)
Type: SystemInt32
The margin - how much svg units to add on each side of the drawing
forceSquare (Optional)
Type: SystemBoolean
if set to true [force square].

Return Value

Type: String
Path where icon was saved
See Also