请单击以进行评分并提供反馈
MSDN
MSDN Library
.NET 开发
先前版本
 ScreenCharactersHeight 属性
此页面仅适用于
Microsoft Visual Studio 2005/.NET Framework 2.0

同时提供下列产品的其他版本:
.NET Framework 类库
HttpCapabilitiesBase.ScreenCharactersHeight 属性

注意:此属性在 .NET Framework 2.0 版中是新增的。

返回显示的近似高度(以字符行为单位)。

命名空间:System.Web.Configuration
程序集:System.Web(在 system.web.dll 中)

Visual Basic(声明)
Public Overridable ReadOnly Property ScreenCharactersHeight As Integer
Visual Basic(用法)
Dim instance As HttpCapabilitiesBase
Dim value As Integer

value = instance.ScreenCharactersHeight
C#
public virtual int ScreenCharactersHeight { get; }
C++
public:
virtual property int ScreenCharactersHeight {
    int get ();
}
J#
/** @property */
public int get_ScreenCharactersHeight ()
JScript
public function get ScreenCharactersHeight () : int

属性值

显示的近似高度(以字符行为单位)。默认值为 6

返回值可从设定的字符大小和实际屏幕像素大小推出。确定高度的算法使用以下三项的组合:默认字体大小(来自 .config 文件);浏览器特定大小(也来自 .config 文件);浏览器发送的显式标头。某些浏览器可能依赖内部默认值,这些值只是近似于实际高度。

Windows 98、Windows 2000 SP4、Windows Server 2003、Windows XP Media Center Edition、Windows XP Professional x64 Edition、Windows XP SP2、Windows XP Starter Edition

.NET Framework 并不是对每个平台的所有版本都提供支持。有关受支持版本的列表,请参见系统要求

.NET Framework

受以下版本支持:2.0
社区内容   什么是社区内容?
添加新内容 RSS  批注
Processing
© 2009 Microsoft Corporation 版权所有。 保留所有权利  |  商标  |  隐私权声明
Page view tracker