FontSettings Class
FontSettings allows certain properties on a FontStyleSetInfo to be marked as overridden or immutable. If certain Font settings are marked as immutable, then they are not allowed to be changed again.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
| Name | Description | |
|---|---|---|
![]() | FontSettings() | Default constructor. |
| Name | Description | |
|---|---|---|
![]() | Bold | Gets or sets the font's bold style. Only allows the change if the property is not immutable and sets the override flags appropriately. |
![]() | FontSettingsFlags | Gets the overridden properties in the FontStyleSetInfo. |
![]() | FontStyleSetInfo | Gets or sets the FontStyleSetInfo associated with these settings. |
![]() | ImmutableName | Makes the Name setting immutable, unchangeable by others. Once it's make immutable, no one else can change it. |
![]() | ImmutableSize | Makes the Size setting immutable, unchangeable by others. Once it's make immutable, no one else can change it. |
![]() | ImmutableStyle | Makes the Style setting immutable, unchangeable by others. Once it's make immutable, no one else can change it. |
![]() | Italic | Gets or sets the font's italic style. Only allows the change if the property is not immutable and sets the override flags appropriately. |
![]() | Name | Gets or sets the name of the FontFamily object. Only allows the change if the property is not immutable and sets the override flags appropriately. |
![]() | Regular | Gets or sets the font's regular style. Only allows the change if the property is not immutable and the value is true. To set a Font to be non-Regular, one must use any of the Bold, Italic, or Style properties. |
![]() | Size | Gets or sets the size of the font in world units (inches). A point is 1/72nd of an inch. Only allows the change if the property is not immutable and sets the override flags appropriately. |
![]() | Strikeout | Gets or sets the font's strikeout style. Only allows the change if the property is not immutable and sets the override flags appropriately. |
![]() | Style | Gets or sets the font's bold, italic, strikeout, and underline styles. Only allows the change if the property is not immutable and sets the override flags appropriately. |
![]() | Underline | Gets or sets the font's underline style. Only allows the change if the property is not immutable and sets the override flags appropriately. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Object.) |
![]() | Finalize() | (Inherited from Object.) |
![]() | GetHashCode() | (Inherited from Object.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsOverridden(FontSettingsFlags) | Tests whether certain PenSettings are overridden. |
![]() | MemberwiseClone() | (Inherited from Object.) |
![]() | ToString() | (Inherited from Object.) |
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.


