CompositionGraphicsDevice.CreateImageFromUri Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
CreateImageFromUri(Uri) |
Creates a CompositionImage from the specified Uri. |
CreateImageFromUri(Uri, CompositionImageOptions) |
Creates a CompositionImage from the specified Uri using the specified options. |
CreateImageFromUri(Uri)
Creates a CompositionImage from the specified Uri.
public:
virtual CompositionImage ^ CreateImageFromUri(Uri ^ uri) = CreateImageFromUri;
/// [Windows.Foundation.Metadata.Overload("CreateImageFromUri")]
CompositionImage CreateImageFromUri(Uri const& uri);
[Windows.Foundation.Metadata.Overload("CreateImageFromUri")]
public CompositionImage CreateImageFromUri(System.Uri uri);
function createImageFromUri(uri)
Public Function CreateImageFromUri (uri As Uri) As CompositionImage
Parameters
Returns
The created CompositionImage.
- Attributes
Remarks
Important
This API exists only in Windows 10, version 1507 (Build 10240).
Applies to
CreateImageFromUri(Uri, CompositionImageOptions)
Creates a CompositionImage from the specified Uri using the specified options.
public:
virtual CompositionImage ^ CreateImageFromUri(Uri ^ uri, CompositionImageOptions ^ options) = CreateImageFromUri;
/// [Windows.Foundation.Metadata.Overload("CreateImageFromUriWithOptions")]
CompositionImage CreateImageFromUri(Uri const& uri, CompositionImageOptions const& options);
[Windows.Foundation.Metadata.Overload("CreateImageFromUriWithOptions")]
public CompositionImage CreateImageFromUri(System.Uri uri, CompositionImageOptions options);
function createImageFromUri(uri, options)
Public Function CreateImageFromUri (uri As Uri, options As CompositionImageOptions) As CompositionImage
Parameters
- options
- CompositionImageOptions
The image options.
Returns
The created CompositionImage.
- Attributes
Remarks
Important
This API exists only in Windows 10, version 1507 (Build 10240).