语法
ASP.NET Ajax Javascript (Specification) | |
---|---|
function width() : Integer; |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfRectangle.width(); |
返回值
返回矩形对象的宽度。备注
组成 Rectangle 对象的左、右边界值都不能为空,否则抛出异常。
需求
操作系统: Windows XP, Windows Server 2003, Windows Vista, Windows Server 2008, Windows 7
浏览器: Internet Explorer 6 以上