Share via


ZoomControl.GetSelectedZoomLevel, méthode

Obtient l'élément SelectedZoomLevelProperty.

Espace de noms :  Microsoft.VisualStudio.Text.Editor
Assembly :  Microsoft.VisualStudio.Text.UI.Wpf (dans Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntaxe

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

Paramètres

Valeur de retour

Type : Double
Double représentant le niveau de zoom sélectionné.

Sécurité .NET Framework

Voir aussi

Référence

ZoomControl Classe

Microsoft.VisualStudio.Text.Editor, espace de noms