[]
Sets the named property to the given value.
public void SetValueByName(string name, int value)
Type | Name | Description |
---|---|---|
string | name | Name of the property |
int | value | Value of the property |
Sets the named property to the given value.
[CLSCompliant(false)]
public void SetValueByName(string name, uint value)
Type | Name | Description |
---|---|---|
string | name | Name of the property |
uint | value | Value of the property |
Sets the named property to the given value.
public void SetValueByName(string name, bool value)
Type | Name | Description |
---|---|---|
string | name | Name of the property |
bool | value | Value of the property |
Sets the named property to the given value.
public void SetValueByName(string name, Guid value)
Type | Name | Description |
---|---|---|
string | name | Name of the property |
Guid | value | Value of the property |
Sets the named property to the given value.
public void SetValueByName(string name, float value)
Type | Name | Description |
---|---|---|
string | name | Name of the property |
float | value | Value of the property |
Sets the named property to the given value.
public void SetValueByName(string name, Vector2 value)
Type | Name | Description |
---|---|---|
string | name | Name of the property |
Vector2 | value | Value of the property |
Sets the named property to the given value.
public void SetValueByName(string name, Vector3 value)
Type | Name | Description |
---|---|---|
string | name | Name of the property |
Vector3 | value | Value of the property |
Sets the named property to the given value.
public void SetValueByName(string name, Vector4 value)
Type | Name | Description |
---|---|---|
string | name | Name of the property |
Vector4 | value | Value of the property |
Sets the named property to the given value.
public void SetValueByName(string name, Point2F value)
Type | Name | Description |
---|---|---|
string | name | Name of the property |
Point2F | value | Value of the property |
Sets the named property to the given value.
public void SetValueByName(string name, RectF value)
Type | Name | Description |
---|---|---|
string | name | Name of the property |
RectF | value | Value of the property |
Sets the named property to the given value.
public void SetValueByName(string name, ColorF value)
Type | Name | Description |
---|---|---|
string | name | Name of the property |
ColorF | value | Value of the property |
Sets the named property to the given value.
public void SetValueByName(string name, Matrix3x2 value)
Type | Name | Description |
---|---|---|
string | name | Name of the property |
Matrix3x2 | value | Value of the property |
Sets the named property to the given value.
public void SetValueByName(string name, Matrix4x4 value)
Type | Name | Description |
---|---|---|
string | name | Name of the property |
Matrix4x4 | value | Value of the property |
Sets the named property to the given value.
public void SetValueByName(string name, Matrix5x4 value)
Type | Name | Description |
---|---|---|
string | name | Name of the property |
Matrix5x4 | value | Value of the property |
Sets the named property to the given value.
public void SetValueByName(string name, string value)
Type | Name | Description |
---|---|---|
string | name | Name of the property |
string | value | Value of the property |
Sets the named property to the given value.
public void SetValueByName<T>(string name, T value) where T : ComObject
Type | Name | Description |
---|---|---|
string | name | Name of the property |
T | value | Value of the property |
Name | Description |
---|---|
T |
Sets the named property to the given value.
public void SetValueByName<T>(string name, PropertyType type, T value) where T : struct
Type | Name | Description |
---|---|---|
string | name | Name of the property |
PropertyType | type | Property type. |
T | value | Value of the property |
Name | Description |
---|---|
T |
HRESULT ID2D1Properties::SetValueByName([In] const wchar_t* name,[In] D2D1_PROPERTY_TYPE type,[In, Buffer] const void* data,[In] unsigned int dataSize)
public void SetValueByName(string name, PropertyType type, IntPtr data, int dataSize)
Type | Name | Description |
---|---|---|
string | name | |
PropertyType | type | |
IntPtr | data | |
int | dataSize |