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