Skip to main content

SvgImage.FromFile(String) Method

Creates a new SvgImage object from a vector image on local storage.

Namespace: DevExpress.Utils.Svg

Assembly: DevExpress.Data.v22.2.dll

NuGet Package: DevExpress.Data


public static SvgImage FromFile(
    string path


Name Type Description
path String

A path to the image file.


Type Description

The SvgImage object created from the given file.

The following code snippets (auto-collected from DevExpress Examples) contain references to the FromFile(String) method.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also