HttpCapabilitiesBase.ScreenCharactersHeight 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳顯示的大致高度,以字元行表示。
public:
virtual property int ScreenCharactersHeight { int get(); };
public virtual int ScreenCharactersHeight { get; }
member this.ScreenCharactersHeight : int
Public Overridable ReadOnly Property ScreenCharactersHeight As Integer
屬性值
顯示的大致高度,以字元行表示。 預設值為 6。
備註
回傳的值可根據假設的字元大小及實際螢幕像素大小推導而來。 判定高度的演算法結合預設字型大小(來自 .config 檔案)、瀏覽器特定大小(同樣來自 .config 檔案)以及瀏覽器傳送的明確標頭。 有些瀏覽器可能依賴內部預設值,僅近似實際高度。