ID2D1DeviceContext::GetUnitMode method (d2d1_1.h)

Gets the mode that is being used to interpret values by the device context.

Syntax

D2D1_UNIT_MODE GetUnitMode();

Return value

Type: D2D1_UNIT_MODE

The unit mode.

Requirements

Requirement Value
Minimum supported client Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps]
Target Platform Windows
Header d2d1_1.h
DLL D2d1.dll

See also

D2D1_UNIT_MODE

ID2D1DeviceContext