[]
        
(Showing Draft Content)

C1.Util.DX.Direct2D.Properties.SetValueByName

SetValueByName Method

SetValueByName(string, int)

Sets the named property to the given value.

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

Name of the property

int value

Value of the property

SetValueByName(string, uint)

Sets the named property to the given value.

Declaration
[CLSCompliant(false)]
public void SetValueByName(string name, uint value)
<CLSCompliant(False)>
Public Sub SetValueByName(name As String, value As UInteger)
Parameters
Type Name Description
string name

Name of the property

uint value

Value of the property

SetValueByName(string, bool)

Sets the named property to the given value.

Declaration
public void SetValueByName(string name, bool value)
Public Sub SetValueByName(name As String, value As Boolean)
Parameters
Type Name Description
string name

Name of the property

bool value

Value of the property

SetValueByName(string, Guid)

Sets the named property to the given value.

Declaration
public void SetValueByName(string name, Guid value)
Public Sub SetValueByName(name As String, value As Guid)
Parameters
Type Name Description
string name

Name of the property

Guid value

Value of the property

SetValueByName(string, float)

Sets the named property to the given value.

Declaration
public void SetValueByName(string name, float value)
Public Sub SetValueByName(name As String, value As Single)
Parameters
Type Name Description
string name

Name of the property

float value

Value of the property

SetValueByName(string, Vector2)

Sets the named property to the given value.

Declaration
public void SetValueByName(string name, Vector2 value)
Public Sub SetValueByName(name As String, value As Vector2)
Parameters
Type Name Description
string name

Name of the property

Vector2 value

Value of the property

SetValueByName(string, Vector3)

Sets the named property to the given value.

Declaration
public void SetValueByName(string name, Vector3 value)
Public Sub SetValueByName(name As String, value As Vector3)
Parameters
Type Name Description
string name

Name of the property

Vector3 value

Value of the property

SetValueByName(string, Vector4)

Sets the named property to the given value.

Declaration
public void SetValueByName(string name, Vector4 value)
Public Sub SetValueByName(name As String, value As Vector4)
Parameters
Type Name Description
string name

Name of the property

Vector4 value

Value of the property

SetValueByName(string, Point2F)

Sets the named property to the given value.

Declaration
public void SetValueByName(string name, Point2F value)
Public Sub SetValueByName(name As String, value As Point2F)
Parameters
Type Name Description
string name

Name of the property

Point2F value

Value of the property

SetValueByName(string, RectF)

Sets the named property to the given value.

Declaration
public void SetValueByName(string name, RectF value)
Public Sub SetValueByName(name As String, value As RectF)
Parameters
Type Name Description
string name

Name of the property

RectF value

Value of the property

SetValueByName(string, ColorF)

Sets the named property to the given value.

Declaration
public void SetValueByName(string name, ColorF value)
Public Sub SetValueByName(name As String, value As ColorF)
Parameters
Type Name Description
string name

Name of the property

ColorF value

Value of the property

SetValueByName(string, Matrix3x2)

Sets the named property to the given value.

Declaration
public void SetValueByName(string name, Matrix3x2 value)
Public Sub SetValueByName(name As String, value As Matrix3x2)
Parameters
Type Name Description
string name

Name of the property

Matrix3x2 value

Value of the property

SetValueByName(string, Matrix4x4)

Sets the named property to the given value.

Declaration
public void SetValueByName(string name, Matrix4x4 value)
Public Sub SetValueByName(name As String, value As Matrix4x4)
Parameters
Type Name Description
string name

Name of the property

Matrix4x4 value

Value of the property

SetValueByName(string, Matrix5x4)

Sets the named property to the given value.

Declaration
public void SetValueByName(string name, Matrix5x4 value)
Public Sub SetValueByName(name As String, value As Matrix5x4)
Parameters
Type Name Description
string name

Name of the property

Matrix5x4 value

Value of the property

SetValueByName(string, string)

Sets the named property to the given value.

Declaration
public void SetValueByName(string name, string value)
Public Sub SetValueByName(name As String, value As String)
Parameters
Type Name Description
string name

Name of the property

string value

Value of the property

SetValueByName<T>(string, T)

Sets the named property to the given value.

Declaration
public void SetValueByName<T>(string name, T value) where T : ComObject
Public Sub SetValueByName(Of T As ComObject)(name As String, value As T)
Parameters
Type Name Description
string name

Name of the property

T value

Value of the property

Type Parameters
Name Description
T

SetValueByName<T>(string, PropertyType, T)

Sets the named property to the given value.

Declaration
public void SetValueByName<T>(string name, PropertyType type, T value) where T : struct
Public Sub SetValueByName(Of T As Structure)(name As String, type As PropertyType, value As T)
Parameters
Type Name Description
string name

Name of the property

PropertyType type

Property type.

T value

Value of the property

Type Parameters
Name Description
T

SetValueByName(string, PropertyType, IntPtr, int)

HRESULT ID2D1Properties::SetValueByName([In] const wchar_t* name,[In] D2D1_PROPERTY_TYPE type,[In, Buffer] const void* data,[In] unsigned int dataSize)

Declaration
public void SetValueByName(string name, PropertyType type, IntPtr data, int dataSize)
Public Sub SetValueByName(name As String, type As PropertyType, data As IntPtr, dataSize As Integer)
Parameters
Type Name Description
string name
PropertyType type
IntPtr data
int dataSize