'Declaration
Public Overloads Shared Function FromUriAsync( _ ByVal uri As NUri, _ ByVal animateFrames As System.Boolean _ ) As NPromise(Of NUriImageSource)
'Usage
Dim uri As NUri Dim animateFrames As System.Boolean Dim value As NPromise(Of NUriImageSource) value = NUriImageSource.FromUriAsync(uri, animateFrames)
public static NPromise<NUriImageSource> FromUriAsync( NUri uri, System.bool animateFrames )
Parameters
- uri
- An URI that points to a raster image resource.
- animateFrames
- In case of image with multiple frames - specifies whether the frames should be animated.
Return Value
A newly created image source. The URI scheme determines the type of the created object (Http or File).