Partager via


IWpfTextView.ZoomLevel Property

Gets or sets the zoom level for the IWpfTextView between 20% to 400%.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Déclaration
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)

Property Value

Type: System.Double
The zoom level for the IWpfTextView between 20% to 400%.

.NET Framework Security

See Also

Reference

IWpfTextView Interface

Microsoft.VisualStudio.Text.Editor Namespace