Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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
- parentShape 
 Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement- The ShapeElement to which this ShapeField belongs 
Return Value
Type: System.Double
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.