TextField.GetFontHeight(ShapeElement) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public:
virtual float GetFontHeight(Microsoft::VisualStudio::Modeling::Diagrams::ShapeElement ^ parentShape);
public virtual float GetFontHeight (Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement parentShape);
abstract member GetFontHeight : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> single
override this.GetFontHeight : Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement -> single
Public Overridable Function GetFontHeight (parentShape As ShapeElement) As Single
Parameters
- parentShape
- ShapeElement