GetGeometrySize Method (IDSWindow)

GetGeometrySize Method (IDSWindow) | Send Feedback
See Also Example

Height[out]
  Height of the window, in pixels, relative to the parent window excluding the frame

Width[out]
  Width of the window, in pixels, relative to the parent window excluding the frame

Gets the size of the application or document window, relative to the parent window excluding the frame.

# Syntax

Visual Basic |
--- | ---
    Sub GetGeometrySize( _
       ByRef Height As System.Integer, _
       ByRef Width As System.Integer _
    )

C# |
--- | ---
    void GetGeometrySize(
       out System.int Height,
       out System.int Width
    )

JavaScript |
--- | ---
    GetGeometrySize(
    ) : {
       Height : Number,
       Width : Number
    }

COM native C++ |
--- | ---
    HRESULT GetGeometrySize(
       LONG* Height,
       LONG* Width
    )

C++ |
--- | ---
    DSRESULT GetGeometrySize(
       long* Height,
       long* Width
    )

#### Parameters

Height[out]
  Height of the window, in pixels, relative to the parent window excluding the frame
Width[out] or Return Value
  Width of the window, in pixels, relative to the parent window excluding the frame

# Example

Get and Set Windows Values (C#)
Get and Set Windows Values (VB.NET)
Get and Set Windows Values (VBA)

# See Also

####

IDSWindow Interface
IDSWindow Members
IDSWindow::GetGeometryPosition Method
IDSWindow::SetGeometryPosition Method
IDSWindow::SetGeometrySize Method

# Availability

DraftSight V1R2.0