Click or drag to resize

WindowresizeTo Method (Int32, Int32, AckCallback, AckCallback)

Resizes the window to the specified dimensions with a "top-left" anchor.

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

Parameters

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