WpfSvgRenderer.CreateImageSource(SvgImage, Size, WpfSvgPalette, WpfSvgPalette, String, 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,
WpfSvgPalette palette,
WpfSvgPalette basePalette,
string state,
bool autoSize,
bool usePalette = true
)
Parameters
Name | Type |
---|---|
image | SvgImage |
targetSize | Size |
palette | WpfSvgPalette |
basePalette | WpfSvgPalette |
state | String |
autoSize | Boolean |
Optional Parameters
Name | Type | Default |
---|---|---|
usePalette | Boolean | True |
Returns
Type |
---|
ImageSource |
See Also