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
- control
Type: System.Windows.DependencyObject
DependencyProperty .
Return Value
Type: System.Double
A double representing the selected zoom level.
.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.