VSet Method
Description
Sets the value of a vision sequence or object property.
Syntax
Sub VSet ( Sequence As String, PropCode As SpelVisionProps, Value As Integer )
Sub VSet ( Sequence As String, PropCode As SpelVisionProps, Value As Boolean )
Sub VSet ( Sequence As String, PropCode As SpelVisionProps, Value As Double )
Sub VSet (Sequence As String, PropCode As SpelVisionProps, Value As Single)
Sub VSet ( Sequence As String, PropCode As SpelVisionProps, Value As String )
Sub VSet ( Sequence As String, Object As String, PropCode As SpelVisionProps,
Value As Integer )
Sub VSet ( Sequence As String, Object As String, PropCode As SpelVisionProps,
Value As Boolean )
Sub VSet (Sequence As String, Object As String, PropCode As SpelVisionProps, Value As Color)
Sub VSet ( Sequence As String, Object As String, PropCode As SpelVisionProps,
Value As Double )
Sub VSet (Sequence As String, Object As String, PropCode As SpelVisionProps, Value As Single)
Sub VSet ( Sequence As String, Object As String, PropCode As SpelVisionProps,
Value As String )
Parameters
- Sequence
A string expression indicating the vision sequence name for the current project. - Object
A string expression indicating the object name for the sequence. - propName
A string expression indicating the property name you want to set the value for. - PropCode
A SpelVisionProps value that specifies the property code. - value
Expression indicating the new value The type of expression must match the property type.
See Also
VGet Method, VRun Method
VSet Example
VB Example:
m_spel.VSet("seq01", "corr01", SpelVisionProps.Accept, 250)
C# Example:
m_spel.VSet("seq01", "corr01", SpelVisionProps.Accept, 250);