HttpCapabilitiesBase.ScreenCharactersHeight 属性
定义
返回显示的近似高度(以字符行为单位)。Returns the approximate height of the display, in character lines.
public:
virtual property int ScreenCharactersHeight { int get(); };
public virtual int ScreenCharactersHeight { get; }
member this.ScreenCharactersHeight : int
Public Overridable ReadOnly Property ScreenCharactersHeight As Integer
属性值
显示的大致高度(以字符行为单位)。The approximate height of the display, in character lines. 默认值为 6。The default is 6.
注解
返回的值可从假定的字符大小和实际屏幕像素大小派生。The returned value can be derived from the assumed character size and actual screen pixel size. 确定高度的算法结合使用默认字体大小 (从 .config 文件) 、特定于浏览器的大小 (、从 .config 文件) 以及浏览器发送的显式标头。The algorithm for determining the height uses a combination of the default font sizes (from a .config file), browser-specific sizes (again, from a .config file), and explicit headers sent by the browser. 某些浏览器可能依赖于内部默认值,这些值仅近似于实际高度。Some browsers might rely on internal default values, which only approximate the actual height.