WpfSvgRenderer.CreateImageSource(Uri, Uri, Nullable<Size>, WpfSvgPalette, String, Nullable<Boolean>) Method
Creates an ImageSource object.
Namespace: DevExpress.Xpf.Core.Native
Assembly: DevExpress.Xpf.Core.v19.2.dll
Declaration
public static ImageSource CreateImageSource(
Uri imageUri,
Uri baseUri = null,
Size? targetSize = default(Size? ),
WpfSvgPalette palette = null,
string state = null,
bool? autoSize = default(bool? )
)
Parameters
Name | Type |
---|---|
imageUri | Uri |
Optional Parameters
Name | Type | Default |
---|---|---|
baseUri | Uri | *null* |
targetSize | Nullable<Size> | *null* |
palette | WpfSvgPalette | *null* |
state | String | *null* |
autoSize | Nullable<Boolean> | *null* |
Returns
Type |
---|
ImageSource |
Remarks
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CreateImageSource(Uri, Uri, Nullable<Size>, WpfSvgPalette, String, Nullable<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