Partager via


DiagramFonts Class

Each property of the DiagramFonts class is a StyleSetResourceId object that uniquely identifies a font resource used by the DiagramClientView paint methods.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Modeling.Diagrams.DiagramFonts

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 DiagramFonts
public sealed class DiagramFonts
public ref class DiagramFonts sealed
[<Sealed>]
type DiagramFonts =  class end
public final class DiagramFonts

The DiagramFonts type exposes the following members.

Properties

  Name Description
Public propertyStatic member CommentText Gets the resource Id for the comment's text font. Font used to display comment's text.
Public propertyStatic member ConnectionLine Gets the resource Id for the connection line's font. Font used to display connection line label text.
Public propertyStatic member ShapeSubtitle Gets the resource Id for a shape's subtitle font. Font used for shape's subtitle.
Public propertyStatic member ShapeText Gets the resource Id for a shape's font. Font used to display shape text.
Public propertyStatic member ShapeTitle Gets the resource Id for a shape's title font. Font used for shape's title.

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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