GetFrameSize Method (IDSWindow)

GetFrameSize Method (IDSWindow) | Send Feedback
See Also Example

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

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

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

# Syntax

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

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

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

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

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

#### Parameters

Height[out]
  Height of the window, in pixels, relative to the parent window including the frame
Width[out] or Return Value
  Width of the window, in pixels, relative to the parent window including 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::GetFramePosition Method
IDSWindow::SetFramePosition Method
IDSWindow::SetFrameSize Method

# Availability

DraftSight V1R2.0