Share via


ListField.GetItemTextHeight Method

Gets the height of a line of text in the list item. This text height (Font.GetHeight()) contains some padding, so GetPaddingAboveItemText and GetPaddingBelowItemText is additional padding on top of that.

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

Syntax

'Declaration
Protected Function GetItemTextHeight ( _
    parentShape As ShapeElement _
) As Double
protected double GetItemTextHeight(
    ShapeElement parentShape
)
protected:
double GetItemTextHeight(
    ShapeElement^ parentShape
)
member GetItemTextHeight : 
        parentShape:ShapeElement -> float 
protected function GetItemTextHeight(
    parentShape : ShapeElement
) : double

Parameters

Return Value

Type: System.Double

.NET Framework Security

See Also

Reference

ListField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace