Skip to main content
All docs
V19.2

WpfSvgRenderer.CreateImageSource(Stream, Double, WpfSvgPalette, WpfSvgPalette, String, Boolean) Method

Creates an ImageSource object.

Namespace: DevExpress.Xpf.Core.Native

Assembly: DevExpress.Xpf.Core.v19.2.dll

Declaration

public static ImageSource CreateImageSource(
    Stream stream,
    double scale,
    WpfSvgPalette palette,
    WpfSvgPalette basePalette = null,
    string state = null,
    bool autoSize = true
)

Parameters

Name Type
stream Stream
scale Double
palette WpfSvgPalette

Optional Parameters

Name Type Default
basePalette WpfSvgPalette *null*
state String *null*
autoSize Boolean True

Returns

Type
ImageSource

Remarks

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateImageSource(Stream, Double, WpfSvgPalette, WpfSvgPalette, String, Boolean) method.

Note

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