Arbortext IsoDraw > Référence du langage macro > Object Data Types > Document Object > document.window
  
document.window
This property gives access to all window attributes but it can not be used directly. It is assumed that myDoc has already been defined as a document and set as the activeDoc for the following examples.
document.window.pageX
Returns and sets the window x-cords property as float.
myDoc.window.pageX = 200
document.window.pageY
Returns and sets the window y-cords property as float.
myDoc.window.pageY = 300
document.window.overlapX
Returns and sets the print overlap x-cords property as float.
myDoc.window.overlapX = 10
document.window.overlapY
Returns and sets the print overlap y-cords property as float.
myDoc.window.overlapY = 10
document.window.scale
This command is included for compatibility reasons only. It is not recommended that you use this command for new development of macros as it may be discontinued in the future. All features from this command have been incorporated into the new command ZOOM (see Zoom).
Returns and sets the window view size (zoom) property as float.
myDoc.window.scale = 10
document.window.dimScale
Returns and sets the dimension scaling property as float.
myDoc.window.dimScale = 3
document.window.preview
Returns and sets the objects preview property as integer. The allowed values are:
0
“no preview”
1
“a preview”
2
“visible hotspots”
4
“visible objects”
Add values to combine properties.
myDoc.window.preview = 6
document.window.is3D
Returns the 3D property as boolean. This property is read only.
MESSAGE myDoc.window.is3D
document.window.curSystem
Returns and sets the current unit system property as string. Allowed values are "mm", "in" and "pt".
myDoc.window.curSystem = "mm"