Partilhar via


VsShellUtilities.GetEnvironmentFont(IServiceProvider) Method

Definition

Retrieve the host's environment font as a 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

Parameters

provider
IServiceProvider

The host's service provider

Returns

The font.

Applies to