Skip to main content

WpfSvgRenderer.CreateImageSource(SvgImage, Double, 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(
    SvgImage image,
    double scale,
    WpfSvgPalette palette,
    string state,
    bool autoSize,
    bool usePalette = true
)

Parameters

Name Type
image SvgImage
scale Double
palette WpfSvgPalette

Optional Parameters

Name Type Default
state String *null*
autoSize Boolean True
usePalette Boolean True

Returns

Type
ImageSource
See Also