Spread Windows Forms 11.0 Product Documentation
ResetNoteIndicatorPosition Method (StyleInfo)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > StyleInfo Class : ResetNoteIndicatorPosition Method
Resets the cell note indicator position.
Syntax
'Declaration
 
Public Overridable Sub ResetNoteIndicatorPosition() 
'Usage
 
Dim instance As StyleInfo
 
instance.ResetNoteIndicatorPosition()
public virtual void ResetNoteIndicatorPosition()
Example
This example uses the ResetNoteIndicatorPosition 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