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