|
ED
|
avaliable
|
RT
|
not used
|
This method creates a dynamic property.
Sub EdLimDynProp() Dim zVariable As Variable 'Child object from type Variables 'Take the first variable from the variables list Set zVariable = MyWorkspace.ActiveDocument.Variables.Item(0) 'Create a limit zVariable.CreateDynProperty ("Limits") 'Set the limit text zVariable.DynProperties("Limits[0].Text") = "Limit reached" 'Set the limit value zVariable.DynProperties("Limits[0].LimitValue") = 10 'Set the value as maximum zVariable.DynProperties("Limits[0].IsMax") = True End Sub