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
'Declaration
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
- control
Type: System.Windows.DependencyObject
DependencyProperty
- value
Type: System.Double
The 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.