次の方法で共有


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

'宣言
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: System.Double
A double representing the selected zoom level.

.NET Framework Security

See Also

Reference

ZoomControl Class

Microsoft.VisualStudio.Text.Editor Namespace