注意:此属性在 .NET Framework 2.0 版中是新增的。
返回显示的近似高度(以字符行为单位)。
命名空间:System.Web.Configuration
程序集:System.Web(在 system.web.dll 中)
Public Overridable ReadOnly Property ScreenCharactersHeight As Integer
Dim instance As HttpCapabilitiesBase
Dim value As Integer
value = instance.ScreenCharactersHeight
public virtual int ScreenCharactersHeight { get; }
public:
virtual property int ScreenCharactersHeight {
int get ();
}
/** @property */
public int get_ScreenCharactersHeight ()
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