Arbortext IsoDraw > Macro Language Reference > Object Data Types > Element Object > element.info.view_context
  
element.info.view_context
This property gives access to all view context attributes but can not be used directly. It is assumed that myElem has already been defined as an element for the following samples
element.info.view_context.type
Returns and sets the type of the view context as string. Possible values are "none", "extent" and "size".
myElem.info.view_context.type = "none"
element.info.view_context.rectangle
If the view context “size” is used, this property must also be used to return and set the size of the view context as rectangle.
myElem.info.view_context.rectangle.top = 500.89
myElem.info.view_context.rectangle.left = 200
myElem.info.view_context.rectangle.bottom = 300.54
myElem.info.view_context.rectangle.right = 350.34