Creates a new renderer for the triangle indicator with the specified color and thickness.
Syntax
Visual Basic (Declaration) | |
---|
Public Function New( _
ByVal clr As Color _
) |
C# | |
---|
public TriangleNoteIndicatorRenderer(
Color clr
) |
Parameters
- clr
- Color of the focus indicator
Example
This example sets the color of the note indicator.
C# | Copy Code |
---|
FpSpread1.ActiveSheet.Cells[1, 1].Note = "That's a cell note";
FpSpread1.ActiveSheet.Cells[1, 1].NoteIndicatorSize = new Size(6, 6);
FpSpread1.CellNoteIndicatorRenderer = new FarPoint.Win.Spread.TriangleNoteIndicatorRenderer(Color.Blue); |
Visual Basic | Copy Code |
---|
FpSpread1.ActiveSheet.Cells(1, 1).Note = "That's a cell note"
FpSpread1.ActiveSheet.Cells(1, 1).NoteIndicatorSize = New Size(6, 6)
FpSpread1.CellNoteIndicatorRenderer = New FarPoint.Win.Spread.TriangleNoteIndicatorRenderer(Color.Blue) |
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