Compartilhar via


Método ZoomControl.SetSelectedZoomLevel

Define o SelectedZoomLevelProperty.

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

Sintaxe

'Declaração
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
)

Parâmetros

  • value
    Tipo: Double

    O nível de zoom.

Segurança do .NET Framework

Consulte também

Referência

ZoomControl Classe

Namespace Microsoft.VisualStudio.Text.Editor