Represents a document window
Syntax:
Class Window
Remarks:
The Window class represents a document window.
Properties:
Name Description
Active Gets if the window is active
ActiveView Gets the active view
Application Gets the application to which the object belongs
Caption Gets the window caption
Document Gets the window document
FullScreen Gets or sets the window's Full Screen state
Handle Gets the window handle for the document window
Height Gets or sets the window's height
Index Gets the index into the windows collection
Left Gets or sets the window's left value
Next Gets the next window
Page Gets the active page for that window
Parent Gets the parent of which this object is a child
Previous Gets the previous window
Top Gets or sets the window's top value
ViewWindow Returns the view window that hosts this document window
Width Gets or sets the window's width
WindowState Gets or sets the window's state
Methods:
Name Description
Activate Activates the window
Close Closes the window
DocumentDistanceToScreenDistance Converts document distance to screen distance
DocumentToScreen Converts document coordinates into screen coordinates
NewWindow Creates a new window
Refresh Refresh the window
ScreenDistanceToDocumentDistance Converts screen distance to document distance
ScreenToDocument Converts screen coordinates into document coordinates