GetWindow Method (IDocument)

GetWindow Method (IDocument) | Send Feedback
See Also Example

Window[out]
  DraftSight document window

Gets the DraftSight document window.

# Syntax

Visual Basic |
--- | ---
    Function GetWindow() As DSWindow

C# |
--- | ---
    DSWindow GetWindow()

JavaScript |
--- | ---
    GetWindow() : dsDSWindow

COM native C++ |
--- | ---
    HRESULT GetWindow(
       IDSWindow** Window
    )

C++ |
--- | ---
    DSRESULT GetWindow(
       dsDSWindow** Window
    )

#### Parameters

Window[out] or Return Value
  DraftSight document window

# Example

Get and Set Windows Values (C#)
Get and Set Windows Values (VB.NET)
Get and Set Windows Values (VBA)
Minimize or Maximize Window (JavaScript)

# See Also

####

IDocument Interface
IDocument Members

# Availability

DraftSight V1R2.0