Просто - никак. Стандартные функции для этого отсутствуют. Установка есть, а проверки - нет.
Единственный путь - самому анализировать текст, который сохраняет полное описание окна в рабочий набор через команду
WindowInfo( window_spec, WIN_INFO_CLONEWINDOW ).
Вот пример для окна карты в 2 слоя - вектор+растр. Для растра установлены параметры:
Set Map Layer 2 contrast 50 brightness 50 alpha 170 transparency on color 16777215 grayscale on
Запрашиваем описание верхнего окна командой
В результате получаем:
Map From vector1,raster1
Width 9.95833 Units "in" Height 5.64583 Units "in"
Set Window FrontWindow() ScrollBars Off Autoscroll On Enhanced Off Smooth Text None
Set Map
image reprojection auto resampling nearestneighbor
CoordSys Earth Projection 8, 1001, "m", 39, 0, 1, 7500000, 0
Center (7446482.671,6227062.797)
Zoom 10046.29927 Units "m"
Preserve Scale Display Zoom
Distance Units "m" Area Units "sq km" XY Units "m"
Set Map
Layer 1
Display Global
Global Pen (1,2,0) Brush (2,16777215,16777215) Symbol (35,0,12) Line (1,2,0) Font ("Arial Cyr",0,9,0)
Label Line Arrow Position Above Font ("Arial Cyr",0,9,0) Pen (1,2,0)
With Z
Parallel On Auto Off Overlap Off Duplicates Off Offset 2
Visibility On
Layer 2
Display Global
Global Pen (1,2,0) Brush (2,16777215,16777215) Symbol (35,0,12) Line (1,2,0) Font ("Arial Cyr",0,9,0)
Selectable Off
Zoom (32, 25000) Units "m"
contrast 50
brightness 50
alpha 170
transparency on
color 16777215
grayscale on
Set Window FrontWindow() Printer
Name "Microsoft XPS Document Writer" Orientation Portrait Copies 1
Papersize 9