Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
1/6/2010
This method sets the graphics source file for an IXRBitmapImage.
Syntax
virtual HRESULT STDMETHODCALLTYPE SetBitmapSource(
HBITMAP hBitmap
) = 0;
Parameters
- hBitmap
[in] Handle to the loaded bitmap to use for this IXRBitmapImage object.
Return Value
Returns an HRESULT that indicates success or failure.
Remarks
Call LoadBitmap to obtain a bitmap handle for this method, by supplying the handle to the instance of the binary module that contains the resource to be loaded. This is the instance handle that you added to Silverlight for Windows Embedded by calling IXRApplication::AddResourceModule.
.NET Framework Equivalent
System.Windows.Media.Imaging.BitmapResource.SetSource
Requirements
| Header | XamlRuntime.h |
| sysgen | SYSGEN_XAML_RUNTIME |
| Windows Embedded CE | Windows Embedded CE 6.0 R3 |