GefScreen.SizeWindowToZoom (method)

Adjusts the size of the window so that the entire screen is visible.
Syntax: object.SizeWindowToZoom
Description: The SizeWindowToZoom method adjusts the size of the window to the current zoom size or to the maximum screen size, which ever is smaller.

Example:

Sub GefScreen_SizeWindowToZoom()
    
    Dim oCimScr As GefScreen
    Set oCimScr = CimGetScreen
    oCimScr.SizeWindowToZoom
    
End Sub