Spread ASP.NET 15
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SheetView Class / GetNote Method
Row index
Column index

In This Topic
    GetNote Method (SheetView)
    In This Topic
    Gets the cell note for a cell at the specified row and column.
    Public Overridable Function GetNote( _
       ByVal row As Integer, _
       ByVal column As Integer _
    ) As String
    Dim instance As SheetView
    Dim row As Integer
    Dim column As Integer
    Dim value As String
    value = instance.GetNote(row, column)
    public virtual string GetNote( 
       int row,
       int column


    Row index
    Column index

    Return Value

    String containing the cell note for the specified cell

    Specify a cell note for a cell by calling the SetNote method. Cells with notes do not show any other indication other than displaying the note when the pointer is over the cell.

    This example returns the note set for the specified cell.
    FarPoint.Web.Spread.SheetView sv;
    string s;
    sv = e.SheetView;
    sv.SetNote(0, 0, "Pay Period");
    s = sv.GetNote(0, 0);
    Response.Write("The note for the cell is a " + s);
    Dim sv As FarPoint.Web.Spread.SheetView
    Dim s As String
    sv = FpSpread1.ActiveSheetView
    sv.SetNote(0, 0, "Pay Period")
    s = sv.GetNote(0, 0)
    Response.Write("The note for the cell is a " & s)
    See Also