StyleSet::GetFontHeight Method (StyleSetResourceId^)
Visual Studio 2015
Returns the line spacing of the specified 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.
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Parameters
- fontId
-
Type:
Microsoft.VisualStudio.Modeling.Diagrams::StyleSetResourceId^
The id of the font.
Return Value
Type: System::Double
Show: