SetGeometrySize Method (IDSWindow)

SetGeometrySize Method (IDSWindow) | Send Feedback
See Also

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

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

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

# Syntax

Visual Basic |
--- | ---
    Sub SetGeometrySize( _
       ByVal Height As System.Integer, _
       ByVal Width As System.Integer _
    )

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

JavaScript |
--- | ---
    SetGeometrySize(
       Height : Number,
       Width : Number
    )

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

C++ |
--- | ---
    DSRESULT SetGeometrySize(
       long Height,
       long Width
    )

#### Parameters

Height
  Height of the window, in pixels, relative to the parent window excluding the frame
Width
  Width of the window, in pixels, relative to the parent window excluding the frame

# See Also

####

IDSWindow Interface
IDSWindow Members
IDSWindow::GetGeometryPosition Method
IDSWindow::GetGeometrySize Method
IDSWindow::SetGeometryPosition Method