Click or drag to resize

WindowsetBounds Method

Set's the bounds (top, left, width, height) of the window.

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.4.0
Syntax
C#
public void setBounds(
	int left,
	int top,
	int width,
	int height,
	AckCallback callback = null,
	AckCallback errorCallback = null
)

Parameters

left
Type: SystemInt32
The left position of the window.
top
Type: SystemInt32
The top position of the window.
width
Type: SystemInt32
The width of the window.
height
Type: SystemInt32
The height of the window.
callback (Optional)
Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method succeeds.
errorCallback (Optional)
Type: Openfin.DesktopAckCallback
(Optional) A function that is called if the method fails. The reason for failure is passed as an argument.
See Also