Skip to main content
All docs
V19.2

WpfSvgRenderer.CreateImageSource(SvgImage, Double, WpfSvgPalette, String, Boolean) Method

Creates an ImageSource object.

Namespace: DevExpress.Xpf.Core.Native

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

Declaration

public static ImageSource CreateImageSource(
    SvgImage image,
    double scale,
    WpfSvgPalette palette,
    string state,
    bool autoSize
)

Parameters

Name Type
image SvgImage
scale Double
palette WpfSvgPalette
state String
autoSize Boolean

Returns

Type
ImageSource

Remarks

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateImageSource(SvgImage, Double, WpfSvgPalette, String, Boolean) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also