IDWriteBitmapRenderTarget::GetPixelsPerDip method (dwrite.h)

Gets the number of bitmap pixels per DIP.

Syntax

FLOAT GetPixelsPerDip();

Return value

Type: FLOAT

The number of bitmap pixels per DIP.

Remarks

A DIP (device-independent pixel) is 1/96 inch. Therefore, this value is the number if pixels per inch divided by 96.

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 dwrite.h
Library Dwrite.lib
DLL Dwrite.dll

See also

IDWriteBitmapRenderTarget