IEditorOperations.ZoomTo Method
Applies the specified zoom level to the text view.
Namespace: Microsoft.VisualStudio.Text.Operations
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'Déclaration
Sub ZoomTo ( _
zoomLevel As Double _
)
void ZoomTo(
double zoomLevel
)
void ZoomTo(
double zoomLevel
)
abstract ZoomTo :
zoomLevel:float -> unit
function ZoomTo(
zoomLevel : double
)
Parameters
- zoomLevel
Type: System.Double
The zoom level to apply, between 20% to 400%.
.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.