Gets or sets the cell note indicator renderer for drawing the cell note indicator in the component.
Syntax
Visual Basic (Usage) | Copy Code |
---|
Dim instance As FpSpread
Dim value As INoteIndicatorRenderer2
instance.CellNoteIndicatorRenderer = value
value = instance.CellNoteIndicatorRenderer |
Example
This example sets the CellNoteIndicatorRenderer property.
C# | Copy Code |
---|
FarPoint.Win.Spread.CellType.DateTimeCellType dt3 = new FarPoint.Win.Spread.CellType.DateTimeCellType();
dt3.SimpleEdit = true;
fpSpread1.ActiveSheet.Cells[3, 0].CellType = dt3;
fpSpread1.ActiveSheet.Cells[3, 0].Value = DateTime.Now;
fpSpread1.ActiveSheet.Cells[3, 0].Note = "Testing";
fpSpread1.CellNoteIndicatorRenderer = new FarPoint.Win.Spread.TriangleNoteIndicatorRenderer(); |
VB.NET | Copy Code |
---|
Dim dt3 As New FarPoint.Win.Spread.CellType.DateTimeCellType()
dt3.SimpleEdit = True
FpSpread1.ActiveSheet.Cells(3, 0).CellType = dt3
FpSpread1.ActiveSheet.Cells(3, 0).Value = DateTime.Now
FpSpread1.ActiveSheet.Cells(3, 0).Note = "Testing"
FpSpread1.CellNoteIndicatorRenderer = New FarPoint.Win.Spread.TriangleNoteIndicatorRenderer() |
Requirements
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8
See Also