Creates a new renderer of the triangle shape indicator.
Syntax
Visual Basic (Declaration) | |
---|
Public Function New() |
C# | |
---|
public TriangleNoteIndicatorRenderer() |
Example
This example creates a cell note indicator.
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