[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.Properties.GetValue

GetValue Method

GetValue<T>(int, PropertyType)

Gets the value of the specified property by index.

Declaration
public T GetValue<T>(int index, PropertyType type) where T : struct
Parameters
Type Name Description
int index

The index of the property from which the data is to be obtained.

PropertyType type

Property type.

Returns
Type Description
T

The value of the specified property by index.

Type Parameters
Name Description
T

GetValue<T>(string, PropertyType)

Gets the value of the specified property by name.

Declaration
public T GetValue<T>(string name, PropertyType type) where T : struct
Parameters
Type Name Description
string name

The name of the property.

PropertyType type

Property type.

Returns
Type Description
T

The value of the specified property by name.

Type Parameters
Name Description
T

GetValue(int, PropertyType, IntPtr, int)

HRESULT ID2D1Properties::GetValue([In] unsigned int index,[In] D2D1_PROPERTY_TYPE type,[Out, Buffer] void* data,[In] unsigned int dataSize)

Declaration
public void GetValue(int index, PropertyType type, IntPtr data, int dataSize)
Parameters
Type Name Description
int index
PropertyType type
IntPtr data
int dataSize