Table of Contents

Method FromFile

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

FromFile(string, bool)

Creates ColorSvgImage from the specified svg file.

public static ColorSvgImage FromFile(string path, bool throwException = true)

Parameters

path string

Path to file.

throwException bool

Indicates whether to throw an exception if loading fails.

Returns

ColorSvgImage