Spread Windows Forms 12.0 Product Documentation
ResetNoteIndicatorSize Method (StyleInfo)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > StyleInfo Class : ResetNoteIndicatorSize Method
Resets the cell note indicator size.
Syntax
'Declaration
 
Public Overridable Sub ResetNoteIndicatorSize() 
'Usage
 
Dim instance As StyleInfo
 
instance.ResetNoteIndicatorSize()
public virtual void ResetNoteIndicatorSize()
Example
This example uses the ResetNoteIndicatorSize method.
fpSpread1.ActiveSheet.SetNote(1, 1, "Test");
FarPoint.Win.Spread.StyleInfo si = new FarPoint.Win.Spread.StyleInfo();
si.NoteIndicatorSize = new Size(10, 10);
si.NoteIndicatorPosition = FarPoint.Win.Spread.NoteIndicatorPosition.BottomRight;
si.ResetNoteIndicatorPosition();
si.ResetNoteIndicatorSize();
fpSpread1.ActiveSheet.DefaultStyle = si;
fpSpread1.ActiveSheet.SetNote(1, 1, "Test")
Dim si As New FarPoint.Win.Spread.StyleInfo()
si.NoteIndicatorSize = New Size(10, 10)
si.NoteIndicatorPosition = FarPoint.Win.Spread.NoteIndicatorPosition.BottomRight
si.ResetNoteIndicatorPosition()
si.ResetNoteIndicatorSize()
fpSpread1.ActiveSheet.DefaultStyle = si
See Also

Reference

StyleInfo Class
StyleInfo Members