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.

Namespace:   Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)

System::Object
  Microsoft.VisualStudio.Modeling.Diagrams::FontSettings

public ref class FontSettings 

NameDescription
System_CAPS_pubmethodFontSettings()

Default constructor.

NameDescription
System_CAPS_pubpropertyBold

Gets or sets the font's bold style. Only allows the change if the property is not immutable and sets the override flags appropriately.

System_CAPS_pubpropertyFontSettingsFlags

Gets the overridden properties in the FontStyleSetInfo.

System_CAPS_pubpropertyFontStyleSetInfo

Gets or sets the FontStyleSetInfo associated with these settings.

System_CAPS_pubpropertyImmutableName

Makes the Name setting immutable, unchangeable by others. Once it's make immutable, no one else can change it.

System_CAPS_pubpropertyImmutableSize

Makes the Size setting immutable, unchangeable by others. Once it's make immutable, no one else can change it.

System_CAPS_pubpropertyImmutableStyle

Makes the Style setting immutable, unchangeable by others. Once it's make immutable, no one else can change it.

System_CAPS_pubpropertyItalic

Gets or sets the font's italic style. Only allows the change if the property is not immutable and sets the override flags appropriately.

System_CAPS_pubpropertyName

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.

System_CAPS_pubpropertyRegular

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.

System_CAPS_pubpropertySize

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.

System_CAPS_pubpropertyStrikeout

Gets or sets the font's strikeout style. Only allows the change if the property is not immutable and sets the override flags appropriately.

System_CAPS_pubpropertyStyle

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.

System_CAPS_pubpropertyUnderline

Gets or sets the font's underline style. Only allows the change if the property is not immutable and sets the override flags appropriately.

NameDescription
System_CAPS_pubmethodEquals(Object^)

(Inherited from Object.)

System_CAPS_protmethodFinalize()

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsOverridden(FontSettingsFlags)

Tests whether certain PenSettings are overridden.

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(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.

Return to top
Show: