/
Window.GetCoordinates_Method(Object, WindowCoordinates)
Window.GetCoordinates_Method(Object, WindowCoordinates)
Gets the coordinates of the application's main window.
Namespace: JollyGiant.Emulation
Assembly: JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
[ComVisibleAttribute(false)] public StatusCode GetCoordinates( Object sessionID, ref WindowCoordinates windowCoordinates ) |
Visual Basic (Declaration) |
---|
<ComVisibleAttribute(False)> _ Public Function GetCoordinates ( _ sessionID As Object, _ ByRef windowCoordinates As WindowCoordinates _ ) As StatusCode |
Visual C++ |
---|
[ComVisibleAttribute(false)] public: virtual StatusCode GetCoordinates( Object^ sessionID, WindowCoordinates% windowCoordinates ) sealed |
JavaScript |
---|
function GetCoordinates(sessionID, windowCoordinates); |
Parameters
sessionID
Type: System..Object
Session ID; this can be a single character, a one character string, or an integer type in the valid character range.
windowCoordinates
Type: JollyGiant.Emulation..WindowCoordinates
WindowCoordinates object, receiving the window coordinates.
Return Value
The return value is a StatusCode specifying the success or failure of the method.
Status code | Description |
---|---|
Ok | The method was successful. |
WHLLNOTCONNECTED | An invalid presentation space was specified, or was not connected for window services. |
WHLLPSENDED | The session stopped. |
Implements
IWindow...GetCoordinates(Object, WindowCoordinates)
Exceptions
Exception | Condition |
---|---|
System.Runtime.InteropServices..::.InvalidOleVariantTypeException | The sessionID object could not be converted to a valid one-character session ID, or the value was out of range. |
See Also
Window Class
GetCoordinates Overload
JollyGiant.Emulation Namespace
Send comments on this topic to Jolly Giant Software
Copyright 2009 by Jolly Giant Software, Inc.
, multiple selections available,
Related content
Window.GetCoordinates Method (Object, WindowCoordinates)
Window.GetCoordinates Method (Object, WindowCoordinates)
More like this
GetCoordinates.Method (Object, WindowCoordinates)
GetCoordinates.Method (Object, WindowCoordinates)
More like this
IWindow.GetCoordinates Method (Object, WindowCoordinates)
IWindow.GetCoordinates Method (Object, WindowCoordinates)
More like this
IWindow.GetCoordinates Method (Object, Int32, Int32, Int32, Int32)
IWindow.GetCoordinates Method (Object, Int32, Int32, Int32, Int32)
More like this
SetCoordinates.Method (Object, WindowCoordinates)
SetCoordinates.Method (Object, WindowCoordinates)
More like this
SetCoordinates Method (Object, WindowCoordinates)
SetCoordinates Method (Object, WindowCoordinates)
More like this