ExternalWindowresizeTo Method |
Resizes the window to the specified dimensions.
Namespace:
Openfin.Desktop
Assembly:
OpenfinDesktop (in OpenfinDesktop.dll) Version: 17.6.1
Syntax void resizeTo(
int width,
int height,
string anchor,
ExternalWindowAckResult result
)
Parameters
- width
- Type: SystemInt32
The width of the window. - height
- Type: SystemInt32
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".
- result
- Type: Openfin.DesktopExternalWindowAckResult
Notifies the desktop of success/failure of this action
See Also