Skip to main content

WpfSvgRenderer.CreateImageSource(Uri, Uri, Nullable<Size>, WpfSvgPalette, WpfSvgPalette, String, Nullable<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(
    Uri imageUri,
    Uri baseUri,
    Size? targetSize,
    WpfSvgPalette palette,
    WpfSvgPalette basePalette,
    string state,
    bool? autoSize,
    bool usePalette = true
)

Parameters

Name Type
imageUri Uri
baseUri Uri
targetSize Nullable<Size>
palette WpfSvgPalette
basePalette WpfSvgPalette
state String
autoSize Nullable<Boolean>

Optional Parameters

Name Type Default
usePalette Boolean True

Returns

Type
ImageSource
See Also