M-Files UI Extensibility Framework
SetDefaultSize Method
IWindow Interface : SetDefaultSize Method
The default width.
The default height.
Specify true to resize the window to the given default size. Forces the resizing in any case. If the parameter is set to false, the window is resized to given size only if the user hasn't previously resized the window from UI in which case the window remembers the changed size.
Description
Sets the default size of the window.
Syntax
Visual Basic
Public Sub SetDefaultSize( _
   ByVal defaultWidth As Double, _
   ByVal defaultHeight As Double, _
   ByVal resizeToDefault As Boolean _
) 
Parameters
defaultWidth
The default width.
defaultHeight
The default height.
resizeToDefault
Specify true to resize the window to the given default size. Forces the resizing in any case. If the parameter is set to false, the window is resized to given size only if the user hasn't previously resized the window from UI in which case the window remembers the changed size.
See Also

IWindow Interface  | IWindow Members