NevronOpenVision
Nevron.Nov.Graphics Namespace / NUriImageSource Class / FromUriAsync Method / FromUriAsync(NUri,Boolean) Method
An URI that points to a raster image resource.
In case of image with multiple frames - specifies whether the frames should be animated.
In This Topic
    FromUriAsync(NUri,Boolean) Method
    In This Topic
    Creates an image source based on the specified URI.
    Syntax
    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).
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also