SetCustomPropertyValue Method (GraphicControl)
Set a value to the Custom property.
Syntax
'Declaration Public Sub SetCustomPropertyValue( _ ByVal name As String, _ ByVal value As String, _ ByVal isConstant As Boolean _ )
'Usage Dim instance As GraphicControl Dim name As String Dim value As String Dim isConstant As Boolean instance.SetCustomPropertyValue(name, value, isConstant)
Parameters
- name
- Name of the custom property to be modified on the graphic. This parameter is of type string, and it can be a reference or a constant.
- value
- The new value to be set. This parameter is of type string, and it can be an expression, reference, or constant. If the value is given in quotes ("), then the value is considered a constant. If the value is given without quotes, then the value of the expression is considered a reference.
- isConstant
- A flag that indicates whether the new value will be evaluated as a constant or a reference. This parameter is of type Boolean. If it is set to True (1), then the new value will be treated as a constant. If it is set to False (0), then the new value will be treated as a reference. This parameter only applies when the value parameter is a reference or constant and the custom property specified in the name parameter is a string or time type. This parameter has no meaning if the custom property is an integer, float, Boolean, or double type.
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also