Gets and sets the string used as an expression. | |
Syntax: | VARIANT =
object.Expression object.Expression = VARIANT |
Description: | The Expression property is used to get and
set the string used as an expression. Example: Sub MoveAnimAttrib_Expression() Dim oCimObj As GefObject Dim oCimMoveAnim As
GefMoveAnim Dim oCimMoveAnimAttrib As
GefMoveAnimAttrib Set oCimObj = CimGetObject Set oCimMoveAnim =
oCimObj.MoveAnim If Not oCimMoveAnim Is Nothing
Then Set
oCimMoveAnimAttrib = oCimMoveAnim.HorizontalAttrib If Not
oCimMoveAnimAttrib Is Nothing Then MsgBox
"The expression is " & _ oCimMoveAnimAttrib.Expression End
If End If End Sub |