SvgImage.FromFile(String) Method

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

Namespace: DevExpress.Utils.Svg

Assembly: DevExpress.Data.v20.1.dll

Declaration

public static SvgImage FromFile(
    string path
)
Public Shared Function FromFile(
    path As String
) As SvgImage

Parameters

Name Type Description
path String

A path to the image file.

Returns

Type Description
SvgImage

The SvgImage object created from the given file.

See Also