Delen via


AmbientFontHelper.GetDesignerFont Method

returns the font for the designer

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

Syntax

'Declaration
Public Shared Function GetDesignerFont ( _
    sp As IServiceProvider _
) As Font
public static Font GetDesignerFont(
    IServiceProvider sp
)
public:
static Font^ GetDesignerFont(
    IServiceProvider^ sp
)
static member GetDesignerFont : 
        sp:IServiceProvider -> Font
public static function GetDesignerFont(
    sp : IServiceProvider
) : Font

Parameters

Return Value

Type: System.Drawing.Font

Remarks

Returns the font for the designer.

.NET Framework Security

See Also

Reference

AmbientFontHelper Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace