Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Return the dots per inch (DPI) of the bitmap.
Syntax
void GetDpi(
[out] FLOAT *dpiX,
[out] FLOAT *dpiY
);
Parameters
[out] dpiX
Type: FLOAT*
The horizontal DPI of the image. You must allocate storage for this parameter.
[out] dpiY
Type: FLOAT*
The vertical DPI of the image. You must allocate storage for this parameter.
Return value
None
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps | UWP apps] |
| Minimum supported server | Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps | UWP apps] |
| Target Platform | Windows |
| Header | d2d1.h |
| Library | D2d1.lib |
| DLL | D2d1.dll |