FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread 名前空間 > SheetView クラス : GetNoteBounds メソッド |
'Declaration
Public Function GetNoteBounds( _ ByVal row As Integer, _ ByVal column As Integer _ ) As Rectangle
fpSpread1.ActiveSheet.SetNote(2, 0, "Head of Development");
fpSpread1.ActiveSheet.Cells(2, 0).NoteStyle = FarPoint.Win.Spread.NoteStyle.StickyNote;
Rectangle r = fpSpread1.ActiveSheet.GetNoteBounds(2, 0);
MessageBox.Show(r.Height.ToString());
FpSpread1.ActiveSheet.SetNote(2, 0, "Head of Development") FpSpread1.ActiveSheet.Cells(2, 0).NoteStyle = FarPoint.Win.Spread.NoteStyle.StickyNote Dim r As Rectangle = FpSpread1.ActiveSheet.GetNoteBounds(2, 0) MessageBox.Show(r.Height.ToString())