FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > StyleInfo Class : IsNoteStyleSet Method |
'Declaration Public Overridable Function IsNoteStyleSet() As Boolean
public virtual bool IsNoteStyleSet()
Gets whether the NoteStyle property is set.
fpSpread1.ActiveSheet.SetNote(0, 0, "Head of Development"); fpSpread1.ActiveSheet.DefaultStyle.NoteStyle = FarPoint.Win.Spread.NoteStyle.StickyNote; bool b; b = fpSpread1.ActiveSheet.DefaultStyle.IsNoteStyleSet(); MessageBox.Show(b.ToString());
FpSpread1.ActiveSheet.SetNote(0, 0, "Head of Development") FpSpread1.ActiveSheet.DefaultStyle.NoteStyle = FarPoint.Win.Spread.NoteStyle.StickyNote Dim b As Boolean b = FpSpread1.ActiveSheet.DefaultStyle.IsNoteStyleSet MsgBox(b.ToString())
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8