WpfSvgRenderer.CreateImageSource(SvgImage, Nullable<Size>, 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(
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