AmbientFontService.GetDesignerFont Method
Get the font used by designers.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)
Syntax
'Declaration
Public Function GetDesignerFont As Font
public Font GetDesignerFont()
public:
virtual Font^ GetDesignerFont() sealed
abstract GetDesignerFont : unit -> Font
override GetDesignerFont : unit -> Font
public final function GetDesignerFont() : Font
Return Value
Type: System.Drawing.Font
Implements
IAmbientFontProvider.GetDesignerFont()
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.