共用方式為


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

'宣告
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