Compartilhar via


ZoomControl.GetSelectedZoomLevel Method

Gets the SelectedZoomLevelProperty.

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

Syntax

'Declaration
Public Shared Function GetSelectedZoomLevel ( _
    control As DependencyObject _
) As Double
public static double GetSelectedZoomLevel(
    DependencyObject control
)
public:
static double GetSelectedZoomLevel(
    DependencyObject^ control
)
static member GetSelectedZoomLevel : 
        control:DependencyObject -> float
public static function GetSelectedZoomLevel(
    control : DependencyObject
) : double

Parameters

Return Value

Type: Double
A double representing the selected zoom level.

.NET Framework Security

See Also

Reference

ZoomControl Class

Microsoft.VisualStudio.Text.Editor Namespace