VsShellUtilities.GetEnvironmentFont(IServiceProvider) 方法

定义

检索主机的环境字体作为 Font

public:
 static System::Drawing::Font ^ GetEnvironmentFont(IServiceProvider ^ provider);
public static System.Drawing.Font GetEnvironmentFont (IServiceProvider provider);
static member GetEnvironmentFont : IServiceProvider -> System.Drawing.Font
Public Shared Function GetEnvironmentFont (provider As IServiceProvider) As Font
Public Function GetEnvironmentFont (provider As IServiceProvider) As Font

参数

provider
IServiceProvider

服务提供程序。

返回

Font

字体。

适用于