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
'Declaration
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: Double
The zoom level for the IWpfTextView between 20% to 400%.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.