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: DependencyObject
value
Type: DoubleThe 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.