Maximized

Maximized is a Boolean property that indicates whether the connection’s window is maximized. The Maximized property is an integer and is read/write enabled. However, if the connection to which you are attached is an inplace, embedded object, this property is read-only. If the connection’s window is maximized, the Maximized property is set to 1; otherwise, it is set to 0. The following example shows this property.

 ' Create an lsxECLWinMetrics object associated with connection A
dim myWMetObj as lsxECLWinMetrics("A")
 
' Make sure our window is maximized
if myWMetObj.Maximized = 0 then
  myWMetObj.Maximized = 1