Sets the coordinates.
Namespace: JollyGiant.Emulation
Assembly: JGSComdotNet (in JGSComdotNet.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
...
Visual Basic (Declaration) |
---|
Function SetCoordinates ( _ sessionID As Object, _ x As Integer, _ y As Integer, _ cx As Integer, _ cy As Integer _ ) As StatusCode |
...
JavaScript |
---|
function SetCoordinates(sessionID, x, y, cx, cy); |
Parameters
sessionID
Type: System..::.ObjectThe Object
The session ID.
x
Type: System..::.Int32X Int32
X position of the top left corner of the window.
y
Type: System..::.Int32Y Int32
Y position of the top left corner of the window.
cx
Type: System..::.Int32Width Int32
Width of the window.
cy
Type: System..::.Int32Height Int32
Height of the window.
Return Value
The return value is a StatusCode specifying the success or failure of the method.
...
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
IWindow Interface
SetCoordinates Overload
JollyGiant.Emulation Namespace
Send comments on this topic to Jolly Giant Software
...