PagePorter Class Library

Global.GetDialogsAndToolWindowsFont Method 

Returns the font specified in the environment setting "Fonts and Colors, Dialogs And Tool Windows."

[Visual Basic]
Public Shared Function GetDialogsAndToolWindowsFont( _
   ByVal dte As DTE, _
   ByVal defaultFont As Font _
) As Font
[C#]
public static Font GetDialogsAndToolWindowsFont(
   DTE dte,
   Font defaultFont
);

Parameters

dte
The DTE object of the Visual Studio instance.
defaultFont
A Font object to use as the default font in case the environment doesn't have one set.

Return Value

Sets the specified Font object to the environment setting "Fonts and Colors, Dialogs And Tool Windows."

See Also

Global Class | Parastream.PagePorter Namespace