Skip to main content

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

Namespace: DevExpress.Xpf.Core.Native

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

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

Parameters

Name Type
stream Stream
scale Double

Optional Parameters

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

Returns

Type
ImageSource
See Also