TextField.GetFontHeight Method

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

Syntax

'宣言
Public Overridable Function GetFontHeight ( _
    parentShape As ShapeElement _
) As Single
'使用
Dim instance As TextField
Dim parentShape As ShapeElement
Dim returnValue As Single

returnValue = instance.GetFontHeight(parentShape)
public virtual float GetFontHeight(
    ShapeElement parentShape
)
public:
virtual float GetFontHeight(
    ShapeElement^ parentShape
)
public function GetFontHeight(
    parentShape : ShapeElement
) : float

Parameters

Return Value

Type: System.Single

Permissions

See Also

Reference

TextField Class

TextField Members

Microsoft.VisualStudio.Modeling.Diagrams Namespace