共用方式為


VsShellUtilities.GetEnvironmentFont Method

Retrieve the host's environment font as a Font.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Shared Function GetEnvironmentFont ( _
    provider As IServiceProvider _
) As Font
public static Font GetEnvironmentFont(
    IServiceProvider provider
)

Parameters

Return Value

Type: System.Drawing.Font
The font.

.NET Framework Security

See Also

Reference

VsShellUtilities Class

Microsoft.VisualStudio.Shell Namespace