Bagikan melalui


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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll)

Syntax

'Declaration
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: 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