Partager via


IXRBitmapImage::SetCreateOptions (Compact 2013)

3/28/2014

This method sets initialization options, such as whether to use an existing image cache, for bitmap images.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetCreateOptions(
    XRBitmapCreateOptions CreateOptions
) = 0;

Parameters

  • CreateOptions
    [in] XRBitmapCreateOptions enumerated type that specifies the new initialization options.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Media.Imaging.BitmapImage.CreateOptions

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRBitmapImage