GetViewPortName
This method retrieves the name of the viewport with the given index. Use
ViewPortCount to get the number of viewports in the illustration. (See
ViewPortCount.)
After you have retrieved your preferred viewport information, call
DisposeViewPortList to free the memory used by
Arbortext IsoView to keep the layer information for all viewports. (See
DisposeViewPortList.) This list will be rebuilt after the next call to
GetViewPortName.
This method returns the name of this viewport as BSTR.
Introduced with Arbortext IsoView 2.0.
Syntax
GetViewPortNameIndex
Parameters:
Index
Defines the index of the viewport as long (0 based).
for ( n = 0; n < document.ivx1.GetViewPortCount(); n++ ){
form1.edtName.value = document.ivx1.GetViewPortName(n);
} document.ivx1.DisposeViewPortList();