Skip to main content

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

Parameters

Name Type
image SvgImage
targetSize Size
palette WpfSvgPalette
state String
autoSize Boolean

Optional Parameters

Name Type Default
usePalette Boolean True

Returns

Type
ImageSource
See Also