Nevron Open Vision Documentation
Nevron.Nov.Graphics Namespace / NUriImageSource Class / FromUriAsync Method / FromUriAsync(NUri) Method
An URI that points to a raster image resource.


In This Topic
    FromUriAsync(NUri) Method
    In This Topic
    Creates an image source based on the specified URI.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function FromUriAsync( _
       ByVal uri As NUri _
    ) As NPromise(Of NUriImageSource)
    'Usage
     
    
    Dim uri As NUri
    Dim value As NPromise(Of NUriImageSource)
     
    value = NUriImageSource.FromUriAsync(uri)
    public static NPromise<NUriImageSource> FromUriAsync( 
       NUri uri
    )

    Parameters

    uri
    An URI that points to a raster image resource.

    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