ClientToWindow method

Computes the full size of the browser window when given the specified width and height of the content area.

Syntax

var retval = InternetExplorer.ClientToWindow();

Parameters

  • cx [in, out, ref]
    Type: Integer

    Integer that specifies the width of the client area. On return, this variable contains the full width required by the browser window.

  • cy [in, out, ref]
    Type: Integer

    Integer that specifies the height of the client area. On return, this variable contains the full height required by the browser window.

Remarks

The WebBrowser object returns an error from this method.

See also

InternetExplorer

Reference

Height

Width