SetGeometryPosition Method (IDSWindow)

SetGeometryPosition Method (IDSWindow) | Send Feedback
See Also

X
  x coordinate of the upper-left corner of the window, relative to the parent window excluding the frame

Y
  y coordinate of the upper-left corner of the window, relative to the parent window excluding the frame

Sets the upper-left corner of the application or document window, relative to the parent window excluding the frame.

# Syntax

Visual Basic |
--- | ---
    Sub SetGeometryPosition( _
       ByVal X As System.Integer, _
       ByVal Y As System.Integer _
    )

C# |
--- | ---
    void SetGeometryPosition(
       System.int X,
       System.int Y
    )

JavaScript |
--- | ---
    SetGeometryPosition(
       X : Number,
       Y : Number
    )

COM native C++ |
--- | ---
    HRESULT SetGeometryPosition(
       LONG X,
       LONG Y
    )

C++ |
--- | ---
    DSRESULT SetGeometryPosition(
       long X,
       long Y
    )

#### Parameters

X
  x coordinate of the upper-left corner of the window, relative to the parent window excluding the frame
Y
  y coordinate of the upper-left corner of the window, relative to the parent window excluding the frame

# See Also

####

IDSWindow Interface
IDSWindow Members
IDSWindow::GetGeometryPosition Method
IDSWindow::GetGeometrySize Method
IDSWindow::SetGeometrySize Method

# Availability

DraftSight V1R2.0