Partager via


ZoomControl.SetSelectedZoomLevel Method

Sets the SelectedZoomLevelProperty.

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

Syntax

'Déclaration
Public Shared Sub SetSelectedZoomLevel ( _
    control As DependencyObject, _
    value As Double _
)
public static void SetSelectedZoomLevel(
    DependencyObject control,
    double value
)
public:
static void SetSelectedZoomLevel(
    DependencyObject^ control, 
    double value
)
static member SetSelectedZoomLevel : 
        control:DependencyObject * 
        value:float -> unit 
public static function SetSelectedZoomLevel(
    control : DependencyObject, 
    value : double
)

Parameters

.NET Framework Security

See Also

Reference

ZoomControl Class

Microsoft.VisualStudio.Text.Editor Namespace