Share via


IXRWriteableBitmap::Render (Compact 2013)

3/28/2014

This method renders an element as a bitmap.

Syntax

virtual HRESULT STDMETHODCALLTYPE Render(
    IXRUIElement* pElement,
    IXRTransform* pTransform
) = 0;

Parameters

  • pElement
    [in] The IXRUIElement derived type to render as this bitmap.
  • pTransform
    [in] Optional. The IXRTransform derived type to apply to the UI element before it is rendered as this bitmap.

Return Value

Returns an HRESULT that indicates success or failure.

Remarks

Use this method to render a UI element as a writeable bitmap, so that you can make changes to its pixels.

.NET Framework Equivalent

System.Windows.Media.Imaging.WriteableBitmap.Render

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRWriteableBitmap