ID2D1Properties::GetType(UINT32) method (d2d1_1.h)

Gets the D2D1_PROPERTY_TYPE of the selected property.

Syntax

D2D1_PROPERTY_TYPE GetType(
  UINT32 index
);

Parameters

index

Type: UINT32

The index of the property for which the type will be retrieved.

Return value

Type: D2D1_PROPERTY_TYPE

This method returns a D2D1_PROPERTY_TYPE-typed value for the type of the selected property.

Remarks

If the property does not exist, the method returns D2D1_PROPERTY_TYPE_UNKNOWN.

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
Library D2d1.lib
DLL D2d1.dll

See also

D2D1_PROPERTY

D2D1_PROPERTY_TYPE

D2D1_SUBPROPERTY

ID2D1Properties