Click or drag to resize
weroSoft AG, Software
ViewModelBaseConvertFrom Method
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Converts a image URI to an image source.

Namespace:  WeroSoft.Windows
Assembly:  WeroSoft.Windows.Library (in WeroSoft.Windows.Library.dll) Version: 3.0 Pre-Release
Syntax
C#
public static ImageSource ConvertFrom(
	string imageUri
)

Parameters

imageUri
Type: SystemString
Image URI.

Return Value

Type: ImageSource
The image source.
Exceptions
ExceptionCondition
NotSupportedExceptionThe exception thrown from the underlaying image converter if the image could not be converted successfully.
ArgumentNullExceptionIf the given string is null, empty or contains only white spaces.
See Also