Share via


IXRImage::SetSource (Windows Embedded CE 6.0)

1/6/2010

This method sets the source for this image.

Syntax

virtual HRESULT STDMETHODCALLTYPE SetSource(
    IXRImageSource* pSource
) = 0;

Parameters

  • pSource
    [in] Pointer to an IXRImageSource derived object that represents the new source object for the drawn image.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

The value of pSource is usually an IXRBitmapImage object, which is a derived class. See IXRBitmapImage for information about the kinds of image sources and formats that can be used for an IXRImage.

.NET Framework Equivalent

System.Windows.Controls.Image.Source

Requirements

Header XamlRuntime.h
sysgen SYSGEN_XAML_RUNTIME
Windows Embedded CE Windows Embedded CE 6.0 R3

See Also

Reference

IXRImage
IXRImage::GetSource