Access properties by using Visual Basic

This section describes how you can get and set ActiveX properties if you are using Visual Basic as your development environment.

For an ActiveX value object based on the opaque type named Opaque, with a non-array data structure member named x, you can get the corresponding property as follows:
member_value = Opaque.x
You can set the property as follows:
Opaque.x = member_value
If a data structure member is an array, you can get the property as follows:
count = Opaque.xDim
You can set or put the property as follows:
member_value = Opaque.x(i)