Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Retrieves the pixel width and height of the bitmap.
Syntax
HRESULT GetSize(
[out] UINT *puiWidth,
[out] UINT *puiHeight
);
Parameters
[out] puiWidth
Type: UINT*
A pointer that receives the pixel width of the bitmap.
[out] puiHeight
Type: UINT*
A pointer that receives the pixel height of the bitmap
Return value
Type: HRESULT
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows XP with SP2, Windows Vista [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2008 [desktop apps | UWP apps] |
| Target Platform | Windows |
| Header | wincodec.h |
| Library | Windowscodecs.lib |
| DLL | Windowscodecs.dll |