Skip to main content
A newer version of this page is available.
All docs
V20.2

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

Namespace: DevExpress.Xpf.Core.Native

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

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

Parameters

Name Type
imageUri Uri

Optional Parameters

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

Returns

Type
ImageSource
See Also