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 命名空间