StyleSet::GetFontSize Method (StyleSetResourceId^)

 

Returns the em height of the font with the specified id. This is the value specified when the font was created. Use GetFontHeight instead to get the height of a line of text when using this font.

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

public:
double GetFontSize(
	StyleSetResourceId^ fontId
)

Parameters

fontId
Type: Microsoft.VisualStudio.Modeling.Diagrams::StyleSetResourceId^

The id of the font.

Return Value

Type: System::Double
Return to top
Show: