Bagikan melalui


ListField.GetPaddingBelowItemText Method

Returns the spacing between the bottom of the text and the bottom of the item. The text height (Font.GetHeight()) contains some padding, so this is padding in addition to that.

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

Syntax

'Declaration
Protected Overridable Function GetPaddingBelowItemText ( _
    parentShape As ShapeElement _
) As Double
protected virtual double GetPaddingBelowItemText(
    ShapeElement parentShape
)
protected:
virtual double GetPaddingBelowItemText(
    ShapeElement^ parentShape
)
abstract GetPaddingBelowItemText : 
        parentShape:ShapeElement -> float  
override GetPaddingBelowItemText : 
        parentShape:ShapeElement -> float
protected function GetPaddingBelowItemText(
    parentShape : ShapeElement
) : double

Parameters

Return Value

Type: Double

.NET Framework Security

See Also

Reference

ListField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace