Spread Windows Forms 13.0 Product Documentation
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread Namespace / Column Class / NoteIndicatorSize Property
Example


In This Topic
    NoteIndicatorSize Property (Column)
    In This Topic
    Gets or sets the default note indicator size for cells in this column.
    Syntax
    'Declaration
     
    Public Property NoteIndicatorSize As Size
    'Usage
     
    Dim instance As Column
    Dim value As Size
     
    instance.NoteIndicatorSize = value
     
    value = instance.NoteIndicatorSize
    public Size NoteIndicatorSize {get; set;}

    Property Value

    Size object containing the dimensions of the note indicator
    Exceptions
    ExceptionDescription
    Specified size is out of range; width and height must be between 0 and 9,999,999 pixels
    Example
    This example sets the size of the note indicator.
    fpSpread1.ActiveSheet.Columns[0].NoteIndicatorSize = new Size(10, 10);
    fpSpread1.ActiveSheet.SetNote(0, 0, "Test");
    
    FpSpread1.ActiveSheet.Columns(0).NoteIndicatorSize = New Size(10, 10)
    FpSpread1.ActiveSheet.SetNote(0, 0, "Test")
    
    See Also