Compartir a través de


TextViewHostOptionExtensions.IsZoomControlEnabled(IEditorOptions) Method

Definition

Determines whether the zoom control is enabled with the specified set of editor options.

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsZoomControlEnabled(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ options);
public:
[System::Runtime::CompilerServices::Extension]
 static bool IsZoomControlEnabled(Microsoft::VisualStudio::Text::Editor::IEditorOptions ^ options);
public static bool IsZoomControlEnabled (this Microsoft.VisualStudio.Text.Editor.IEditorOptions options);
static member IsZoomControlEnabled : Microsoft.VisualStudio.Text.Editor.IEditorOptions -> bool
<Extension()>
Public Function IsZoomControlEnabled (options As IEditorOptions) As Boolean

Parameters

options
IEditorOptions

The set of editor options.

Returns

true if the zoom control is enabled, otherwise false.

Applies to