Export (0) Print
Expand All

IXRBitmapSource (Compact 2013)

3/28/2014

This C++ class is an intermediate base class for bitmap objects in XAML for Windows Embedded.


class IXRBitmapSource : public IXRImageSource

     IXRImageSource

          IXRBitmapSource

Method

Description

IXRBitmapSource::GetPixelHeight

Retrieves the height, in pixels, of a bitmap.

IXRBitmapSource::GetPixelWidth

Retrieves the width, in pixels, of a bitmap.

IXRBitmapSource::SetBitmapSource

Sets the graphics source file for an IXRBitmapSource object to an HBITMAP.

IXRBitmapSource::SetSource

Sets the graphics source file for an IXRBitmapSource object to an IWICBitmap.

Members of this class are thread-safe if you previously called IXRApplication::CreateHostFromXaml and supplied it with an XRWindowCreateParams structure that has AllowsMultipleThreadAccess set to true.

The following classes derive from IXRBitmapSource to provide size information to those classes:

System.Windows.Media.Imaging.BitmapSource

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

Show:
© 2015 Microsoft