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

'Declaration
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

See Also

Reference

IEditorOperations Interface

Microsoft.VisualStudio.Text.Operations Namespace