Poznámka:
Přístup k této stránce vyžaduje autorizaci. Můžete se zkusit přihlásit nebo změnit adresáře.
Přístup k této stránce vyžaduje autorizaci. Můžete zkusit změnit adresáře.
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 |