Compartir a través de


IXRBitmapSource::GetPixelWidth (Compact 2013)

3/28/2014

This method retrieves the width, in pixels, of a bitmap.

Syntax

virtual HRESULT STDMETHODCALLTYPE GetPixelWidth(
    int* pPixelWidth
) = 0;

Parameters

  • pPixelWidth
    [out] Pointer to the width, in pixels, of this bitmap.

Return Value

Returns an HRESULT that indicates success or failure.

.NET Framework Equivalent

System.Windows.Media.Imaging.BitmapSource.PixelWidth

Requirements

Header

XamlRuntime.h

sysgen

SYSGEN_XAML_RUNTIME

See Also

Reference

IXRBitmapSource