Skip to main content
All docs
V23.2

WpfSvgRenderer.CreateImageSource(SvgImage, Nullable<Size>, WpfSvgPalette, String, Nullable<Boolean>, Boolean) Method

Namespace: DevExpress.Xpf.Core.Native

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public static ImageSource CreateImageSource(
    SvgImage image,
    Size? targetSize = null,
    WpfSvgPalette palette = null,
    string state = null,
    bool? autoSize = null,
    bool usePalette = true
)

Parameters

Name Type
image SvgImage

Optional Parameters

Name Type Default
targetSize Nullable<Size> null
palette WpfSvgPalette null
state String null
autoSize Nullable<Boolean> null
usePalette Boolean True

Returns

Type
ImageSource
See Also