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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

声明
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.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (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