ID2D1Properties::GetValueSize(U) method (d2d1_1.h)

Gets the size of the property value in bytes, using the property index. This is a template overload. See Remarks.

Syntax

UINT32 GetValueSize(
  U index
);

Parameters

index

Type: U

The index of the property.

Return value

Type: UINT32

This method returns size of the value in bytes, using the property index

Remarks

This method returns zero if index does not exist.

template<typename U>
    UINT32 GetValueSize(
        U index
        ) CONST;

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

ID2D1Properties