[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.Properties.SetValue

SetValue Method

SetValue(int, int)

Sets the named property to the given value.

Declaration
public void SetValue(int index, int value)
Public Sub SetValue(index As Integer, value As Integer)
Parameters
Type Name Description
int index

Index of the property

int value

Value of the property

SetValue(int, uint)

Sets the named property to the given value.

Declaration
[CLSCompliant(false)]
public void SetValue(int index, uint value)
<CLSCompliant(False)>
Public Sub SetValue(index As Integer, value As UInteger)
Parameters
Type Name Description
int index

Index of the property

uint value

Value of the property

SetValue(int, bool)

Sets the named property to the given value.

Declaration
public void SetValue(int index, bool value)
Public Sub SetValue(index As Integer, value As Boolean)
Parameters
Type Name Description
int index

Index of the property

bool value

Value of the property

SetValue(int, Guid)

Sets the named property to the given value.

Declaration
public void SetValue(int index, Guid value)
Public Sub SetValue(index As Integer, value As Guid)
Parameters
Type Name Description
int index

Index of the property

Guid value

Value of the property

SetValue(int, float)

Sets the named property to the given value.

Declaration
public void SetValue(int index, float value)
Public Sub SetValue(index As Integer, value As Single)
Parameters
Type Name Description
int index

Index of the property

float value

Value of the property

SetValue(int, Vector2)

Sets the named property to the given value.

Declaration
public void SetValue(int index, Vector2 value)
Public Sub SetValue(index As Integer, value As Vector2)
Parameters
Type Name Description
int index

Index of the property

Vector2 value

Value of the property

SetValue(int, Vector3)

Sets the named property to the given value.

Declaration
public void SetValue(int index, Vector3 value)
Public Sub SetValue(index As Integer, value As Vector3)
Parameters
Type Name Description
int index

Index of the property

Vector3 value

Value of the property

SetValue(int, Vector4)

Sets the named property to the given value.

Declaration
public void SetValue(int index, Vector4 value)
Public Sub SetValue(index As Integer, value As Vector4)
Parameters
Type Name Description
int index

Index of the property

Vector4 value

Value of the property

SetValue(int, Point2F)

Sets the named property to the given value.

Declaration
public void SetValue(int index, Point2F value)
Public Sub SetValue(index As Integer, value As Point2F)
Parameters
Type Name Description
int index

Index of the property

Point2F value

Value of the property

SetValue(int, RectF)

Sets the named property to the given value.

Declaration
public void SetValue(int index, RectF value)
Public Sub SetValue(index As Integer, value As RectF)
Parameters
Type Name Description
int index

Index of the property

RectF value

Value of the property

SetValue(int, ColorF)

Sets the named property to the given value.

Declaration
public void SetValue(int index, ColorF value)
Public Sub SetValue(index As Integer, value As ColorF)
Parameters
Type Name Description
int index

Index of the property

ColorF value

Value of the property

SetValue(int, Matrix3x2)

Sets the named property to the given value.

Declaration
public void SetValue(int index, Matrix3x2 value)
Public Sub SetValue(index As Integer, value As Matrix3x2)
Parameters
Type Name Description
int index

Index of the property

Matrix3x2 value

Value of the property

SetValue(int, Matrix4x4)

Sets the named property to the given value.

Declaration
public void SetValue(int index, Matrix4x4 value)
Public Sub SetValue(index As Integer, value As Matrix4x4)
Parameters
Type Name Description
int index

Index of the property

Matrix4x4 value

Value of the property

SetValue(int, Matrix5x4)

Sets the named property to the given value.

Declaration
public void SetValue(int index, Matrix5x4 value)
Public Sub SetValue(index As Integer, value As Matrix5x4)
Parameters
Type Name Description
int index

Index of the property

Matrix5x4 value

Value of the property

SetValue(int, string)

Sets the named property to the given value.

Declaration
public void SetValue(int index, string value)
Public Sub SetValue(index As Integer, value As String)
Parameters
Type Name Description
int index

Index of the property

string value

Value of the property

SetValue<T>(int, T)

Sets the named property to the given value.

Declaration
public void SetValue<T>(int index, T value) where T : ComObject
Public Sub SetValue(Of T As ComObject)(index As Integer, value As T)
Parameters
Type Name Description
int index

Index of the property

T value

Value of the property

Type Parameters
Name Description
T

SetValue<T>(int, PropertyType, T)

Sets the named property to the given value.

Declaration
public void SetValue<T>(int index, PropertyType type, T value) where T : struct
Public Sub SetValue(Of T As Structure)(index As Integer, type As PropertyType, value As T)
Parameters
Type Name Description
int index

Index of the property

PropertyType type

Property type.

T value

Value of the property

Type Parameters
Name Description
T

SetValue(int, PropertyType, IntPtr, int)

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

Declaration
public void SetValue(int index, PropertyType type, IntPtr data, int dataSize)
Public Sub SetValue(index As Integer, type As PropertyType, data As IntPtr, dataSize As Integer)
Parameters
Type Name Description
int index
PropertyType type
IntPtr data
int dataSize