共用方式為


TextField.GetMultipleLine Method

If true, the text can wrap onto more than one line to fit the width available.

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

Syntax

'宣告
Public Overridable Function GetMultipleLine ( _
    parentShape As ShapeElement _
) As Boolean
public virtual bool GetMultipleLine(
    ShapeElement parentShape
)
public:
virtual bool GetMultipleLine(
    ShapeElement^ parentShape
)
abstract GetMultipleLine : 
        parentShape:ShapeElement -> bool 
override GetMultipleLine : 
        parentShape:ShapeElement -> bool 
public function GetMultipleLine(
    parentShape : ShapeElement
) : boolean

Parameters

Return Value

Type: System.Boolean

Remarks

The default method returns the value of DefaultMultipleLine. You can override this method in your own subclass. For more information, see TextField.

.NET Framework Security

See Also

Reference

TextField Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace