IBitmapData::GetStride method (xamlom.h)

Gets the stride of the data. This is the length in bytes of each row of the bitmap.

Syntax

HRESULT GetStride(
  [out] unsigned int *pStride
);

Parameters

[out] pStride

The length in bytes of each row of the bitmap.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1607 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Target Platform Windows
Header xamlom.h

See also

IBitmapData