VsShellUtilities.GetEnvironmentFont(IServiceProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.