Freigeben über


TextViewHostOptionExtensions.IsZoomControlEnabled-Methode

Bestimmt, ob das Zoomsteuerelement für den angegebenen Satz von Editoroptionen aktiviert ist.

Namespace:  Microsoft.VisualStudio.Text.Editor.OptionsExtensionMethods
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function IsZoomControlEnabled ( _
    options As IEditorOptions _
) As Boolean
public static bool IsZoomControlEnabled(
    this IEditorOptions options
)
[ExtensionAttribute]
public:
static bool IsZoomControlEnabled(
    IEditorOptions^ options
)
static member IsZoomControlEnabled : 
        options:IEditorOptions -> bool
public static function IsZoomControlEnabled(
    options : IEditorOptions
) : boolean

Parameter

Rückgabewert

Typ: Boolean
true , wenn das Zoomsteuerelement aktiviert ist, andernfalls false.

Hinweis zur Verwendung

In Visual Basic und C# können Sie diese Methode als Instanzenmethode für ein beliebiges Objekt vom Typ IEditorOptions aufrufen. Bei Verwendung der Syntax für Instanzenmethoden lassen Sie den ersten Parameter aus. Weitere Informationen finden Sie unter Erweiterungsmethoden (Visual Basic) und Erweiterungsmethoden (C#-Programmierhandbuch).

.NET Framework-Sicherheit

Siehe auch

Referenz

TextViewHostOptionExtensions Klasse

Microsoft.VisualStudio.Text.Editor.OptionsExtensionMethods-Namespace