GetFramePosition Method (IDSWindow) Send Feedback
See Also  Example
X[out]
x coordinate of the upper-left corner of the window, relative to the parent window including the frame
Y[out]
y coordinate of the upper-left corner of the window, relative to the parent window including the frame
Gets the upper-left corner of the application or document window, relative to the parent window including the frame.

Syntax

Visual Basic 
Sub GetFramePosition( _
   ByRef X As System.Integer, _
   ByRef Y As System.Integer _
) 
C# 
void GetFramePosition( 
   out System.int X,
   out System.int Y
)
JavaScript 
GetFramePosition(
) : {
   X : Number,
   Y : Number
}
COM native C++ 
HRESULT GetFramePosition( 
   LONG* X,
   LONG* Y
) 
C++ 
DSRESULT GetFramePosition( 
   long* X,
   long* Y
) 

Parameters

X[out]
x coordinate of the upper-left corner of the window, relative to the parent window including the frame
Y[out] or Return Value
y coordinate of the upper-left corner of the window, relative to the parent window including the frame

Example

 

See Also

Availability

DraftSight V1R2.0