Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Protected Overridable Function GetPaddingAboveItemText ( _
parentShape As ShapeElement _
) As Double
'使用
Dim parentShape As ShapeElement
Dim returnValue As Double
returnValue = Me.GetPaddingAboveItemText(parentShape)
protected virtual double GetPaddingAboveItemText(
ShapeElement parentShape
)
protected:
virtual double GetPaddingAboveItemText(
ShapeElement^ parentShape
)
protected function GetPaddingAboveItemText(
parentShape : ShapeElement
) : double
Parameters
- parentShape
Type: Microsoft.VisualStudio.Modeling.Diagrams.ShapeElement
Return Value
Type: System.Double
Permissions
- 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.