LoadedImageSurface.StartLoadFromUri LoadedImageSurface.StartLoadFromUri LoadedImageSurface.StartLoadFromUri LoadedImageSurface.StartLoadFromUri Method

Definition

Overloads

StartLoadFromUri(Uri) StartLoadFromUri(Uri) StartLoadFromUri(Uri) StartLoadFromUri(Uri)

Loads an image into a LoadedImageSurface from the provided Uniform Resource Identifier (URI) at the natural size defined in the image source.

StartLoadFromUri(Uri, Size) StartLoadFromUri(Uri, Size) StartLoadFromUri(Uri, Size) StartLoadFromUri(Uri, Size)

Loads an image into a LoadedImageSurface from the provided Uniform Resource Identifier (URI) with the desired maximum size.

StartLoadFromUri(Uri) StartLoadFromUri(Uri) StartLoadFromUri(Uri) StartLoadFromUri(Uri)

Loads an image into a LoadedImageSurface from the provided Uniform Resource Identifier (URI) at the natural size defined in the image source.

public : static LoadedImageSurface StartLoadFromUri(Uri uri)
static LoadedImageSurface StartLoadFromUri(Uri uri) const;
public static LoadedImageSurface StartLoadFromUri(Uri uri)
Public Shared Function StartLoadFromUri(uri As Uri) As LoadedImageSurface
Parameters
uri
Uri Uri

The URI from which the image is loaded.

Returns

An instance of LoadedImageSurface with the image loaded onto its surface.

StartLoadFromUri(Uri, Size) StartLoadFromUri(Uri, Size) StartLoadFromUri(Uri, Size) StartLoadFromUri(Uri, Size)

Loads an image into a LoadedImageSurface from the provided Uniform Resource Identifier (URI) with the desired maximum size.

public : static LoadedImageSurface StartLoadFromUri(Uri uri, Size desiredMaxSize)
static LoadedImageSurface StartLoadFromUri(Uri uri, Size desiredMaxSize) const;
public static LoadedImageSurface StartLoadFromUri(Uri uri, Size desiredMaxSize)
Public Shared Function StartLoadFromUri(uri As Uri, desiredMaxSize As Size) As LoadedImageSurface
Parameters
uri
Uri Uri

The URI from which the image is loaded.

desiredMaxSize
Size Size

The desired maximum size of the image surface in device independent pixels.

Returns

An instance of LoadedImageSurface with the image loaded onto its surface.

Remarks

By default, LoadedImageSurface will fill up as much of the desiredMaxSize as possible while preserving the aspect ratio and image content of the incoming source. This may result in a decodedsize that differs from the input desiredMaxSize