FontDescriptor Properties

 

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

NameDescription
System_CAPS_pubpropertyFont

Gets a cloned instance of the Font defined by this descriptor. If the font has not been previously created, it creates it first.

System_CAPS_pubpropertyFontHeight

Gets the line spacing of this font (i.e., the height of a line of text) in world units. Line spacing is the ascent + the descent + some recommended extra. The ascent is the height of the character above the baseline, and the descent is the height of the character below the baseline. The extra is below the descent.

System_CAPS_pubpropertyFontSize

Gets the em height of the Font object measured in the units of the Font object. This is the value used to create the font. Use FontHeight instead if you want to get the height of a line of text using this font (i.e., the line spacing).

System_CAPS_pubpropertyFontStyleSetInfo

Gets the font information for this descriptor.

Return to top
Show: