Gets and sets the string used as an expression. | |
Syntax: | VARIANT =
object.Expression object.Expression = VARIANT |
Description: | The Expression property gets and sets the
expression. Example: Sub GefScaleAnimAttrib_Expression() Dim oCimObj As GefObject Dim oCimScaleAnim As
GefScaleAnim Dim oCimScaleAnimAttrib As
GefScaleAnimAttrib Set oCimObj = CimGetObject Set oCimScaleAnim =
oCimObj.ScaleAnim Set oCimScaleAnimAttrib =
oCimScaleAnim.HorizontalAttrib MsgBox "The expression for the
horizontal scale animation is " &
oCimScaleAnimAttrib.Expression End Sub |