Click or drag to resize

WindowresizeBy Method (Int32, Int32, String, AckCallback, AckCallback)

Resizes the window by the specified amount.

Namespace:  Openfin.Desktop
Assembly:  OpenfinDesktop (in OpenfinDesktop.dll) Version: 14.1.0-alpha3
Syntax
C#
public void resizeBy(
	int deltaWidth,
	int deltaHeight,
	string anchor,
	AckCallback callback = null,
	AckCallback errorCallback = null
)

Parameters

deltaWidth
Type: SystemInt32
The change in the width of the window.
deltaHeight
Type: SystemInt32
The change in the height of the window.
anchor
Type: SystemString
Specifies a corner to remain fixed during the resize. Can take the values: "top-left" "top-right" "bottom-left" "bottom-right" If undefined, the default is "top-left".
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