共用方式為


IWpfTextView.ZoomLevel 屬性

取得或設定縮放層級的IWpfTextView介於 20%到 400%。

命名空間:  Microsoft.VisualStudio.Text.Editor
組件:  Microsoft.VisualStudio.Text.UI.Wpf (在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)

語法

'宣告
Property ZoomLevel As Double
double ZoomLevel { get; set; }
property double ZoomLevel {
    double get ();
    void set (double value);
}
abstract ZoomLevel : float with get, set
function get ZoomLevel () : double 
function set ZoomLevel (value : double)

屬性值

類型:Double
縮放層級的IWpfTextView介於 20%到 400%。

.NET Framework 安全性

請參閱

參考

IWpfTextView 介面

Microsoft.VisualStudio.Text.Editor 命名空間