ID2D1Properties::GetPropertyNameLength(UINT32) method (d2d1_1.h)
Gets the number of characters for the given property name.
Syntax
UINT32 GetPropertyNameLength(
UINT32 index
);
Parameters
index
Type: UINT32
The index of the property name to retrieve.
Return value
Type: UINT32
This method returns the size in characters of the name corresponding to the given property index, or zero if the property index does not exist.
Remarks
The value returned by this method can be used to ensure that the buffer size for GetPropertyName is appropriate.
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 |