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: DoubleThe 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.