SvgImageHelper.CreateImage(Uri) Method
Creates an SVG image.
Namespace: DevExpress.Xpf.Core
Assembly: DevExpress.Xpf.Core.v19.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
uri | Uri | A URI that represents an SVG image. |
Returns
Type | Description |
---|---|
SvgImage | An object that represents an SVG image. |
Remarks
The following code sample shows how to specify an SVG image:
var image = SvgImageHelper.CreateImage(absoluteUri);
return WpfSvgRenderer.CreateImageSource(image, 1d, null, null, true);
Tip
GitHub Example: How to specify SVG images manually
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateImage(Uri) 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