Spread Windows Forms 15.0
GrapeCity.Win.PluginInputMan Assembly / GrapeCity.Win.Spread.InputMan.CellType Namespace / GcTextBox Class / GetLineCount Method


In This Topic
    GetLineCount Method (GcTextBox)
    In This Topic
    Retrieves the number of lines in a multiple-line edit control.
    Syntax
    'Declaration
     
    
    Public Function GetLineCount() As Integer
    'Usage
     
    
    Dim instance As GcTextBox
    Dim value As Integer
     
    value = instance.GetLineCount()
    public int GetLineCount()

    Return Value

    An System.Int32 value that indicates the number of lines in the GcTextBox control.
    Remarks
    If the Text property is System.String.Empty, this method returns zero; otherwise, it returns the number of lines.
    See Also