ViewState.ViewportWidth 屬性
取得檢視區的寬度。
命名空間: Microsoft.VisualStudio.Text.Editor
組件: Microsoft.VisualStudio.Text.UI (在 Microsoft.VisualStudio.Text.UI.dll 中)
語法
'宣告
Public Property ViewportWidth As Double
public double ViewportWidth { get; private set; }
public:
property double ViewportWidth {
double get ();
private: void set (double value);
}
member ViewportWidth : float with get, private set
function get ViewportWidth () : double
private function set ViewportWidth (value : double)
屬性值
類型:Double
檢視區的寬度。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。