IXRBitmapSource (Compact 2013)

3/28/2014

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

Syntax

class IXRBitmapSource : public IXRImageSource

Inheritance Hierarchy

     IXRImageSource

          IXRBitmapSource

Methods

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.

Thread Safety

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.

Remarks

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

.NET Framework Equivalent

System.Windows.Media.Imaging.BitmapSource

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

Classes for UI Element Management