Partager via


AmbientFontHelper Class

Used to help retriving the designer font

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.Diagrams.AmbientFontHelper

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 NotInheritable Class AmbientFontHelper
public static class AmbientFontHelper
public ref class AmbientFontHelper abstract sealed
[<AbstractClass>]
[<Sealed>]
type AmbientFontHelper =  class end
public final class AmbientFontHelper

The AmbientFontHelper type exposes the following members.

Methods

  Name Description
Public methodStatic member GetDesignerFont returns the font for the designer

Top

Fields

  Name Description
Public fieldStatic member DefaultFont The default font in case the service is unavailable

Top

Remarks

Used to enable retrieval of the designer font.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Modeling.Diagrams Namespace