共用方式為


innerWidth property

Gets the width of the window, excluding user interface elements, such as the window frame.

 

Syntax

HRESULT value = object.get_innerWidth(* p);

Property values

Type: long

The width of the window.

Standards information

See also

Reference

IHTMLWindow7::innerHeight

IHTMLWindow7::outerHeight

IHTMLWindow7::outerWidth