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 | |
---|---|---|
CommentText | Gets the resource Id for the comment's text font. Font used to display comment's text. | |
ConnectionLine | Gets the resource Id for the connection line's font. Font used to display connection line label text. | |
ShapeSubtitle | Gets the resource Id for a shape's subtitle font. Font used for shape's subtitle. | |
ShapeText | Gets the resource Id for a shape's font. Font used to display shape text. | |
ShapeTitle | Gets the resource Id for a shape's title font. Font used for shape's title. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
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.