Skip to main content

WpfSvgRenderer.CreateImageSource(Stream, Size, WpfSvgPalette, WpfSvgPalette, String, Boolean) Method

Creates an ImageSource object.

Namespace: DevExpress.Xpf.Core.Native

Assembly: DevExpress.Xpf.Core.v24.1.dll

NuGet Package: DevExpress.Wpf.Core

Declaration

public static ImageSource CreateImageSource(
    Stream stream,
    Size targetSize,
    WpfSvgPalette palette,
    WpfSvgPalette basePalette,
    string state,
    bool autoSize
)

Parameters

Name Type
stream Stream
targetSize Size
palette WpfSvgPalette
basePalette WpfSvgPalette
state String
autoSize Boolean

Returns

Type
ImageSource

Remarks

Tip

Topic: SVG Images

See Also