Skip to main content

WpfSvgRenderer.CreateImageSource(Stream, Size, 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,
    Size targetSize,
    WpfSvgPalette palette,
    string state,
    bool autoSize,
    bool usePalette = true
)

Parameters

Name Type
stream Stream
targetSize Size
palette WpfSvgPalette
state String
autoSize Boolean

Optional Parameters

Name Type Default
usePalette Boolean True

Returns

Type
ImageSource
See Also