Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / GetRowAutoText Method
Row index
Example


In This Topic
    GetRowAutoText Method
    In This Topic
    Gets the automatic text displayed in the specified row header.
    Syntax
    'Declaration
     
    Public Function GetRowAutoText( _
       ByVal row As Integer _
    ) As String
    'Usage
     
    Dim instance As SheetView
    Dim row As Integer
    Dim value As String
     
    value = instance.GetRowAutoText(row)
    public string GetRowAutoText( 
       int row
    )

    Parameters

    row
    Row index

    Return Value

    String containing the text for the row header cell specified by AutoTextIndex
    Remarks
    This method gets the automatic text for the row, even if the automatic text is not displayed.
    Example
    This example returns auto text displayed in the specified row header.
    FarPoint.Web.Spread.SheetView sv;
    string s;
    sv = e.SheetView;
    s = sv.GetRowAutoText(1);
    Response.Write("The text in the header is " + s);
    
    Dim sv As FarPoint.Web.Spread.SheetView
    Dim s As String
    sv = FpSpread1.ActiveSheetView
    s = sv.GetRowAutoText(1)
    Response.Write("The text in the header is " & s)
    
    See Also