PowerTools SPREAD for Windows Forms 8.0J
ResetNoteIndicatorPosition メソッド (Cell)


ノートインジケーターの位置をリセットします。
構文
'Declaration
 
Public Sub ResetNoteIndicatorPosition() 
'使用法
 
Dim instance As Cell
 
instance.ResetNoteIndicatorPosition()
public void ResetNoteIndicatorPosition()
次のサンプルコードは、ResetNoteIndicatorPositionメソッドを使用します。
fpSpread1.ActiveSheet.SetNote(2, 0, "Head of Development");
FarPoint.Win.Spread.DrawingSpace.StickyNoteStyleInfo nsinfo = new FarPoint.Win.Spread.DrawingSpace.StickyNoteStyleInfo();
nsinfo = fpSpread1.ActiveSheet.GetStickyNoteStyleInfo(2, 0);
nsinfo.BackColor = Color.Bisque;
nsinfo.Font = new Font("Tahoma", 10);            
fpSpread1.ActiveSheet.SetStickyNoteStyleInfo(2, 0, nsinfo);
fpSpread1.Sheets[0].Cells[2, 0].NoteIndicatorPosition = FarPoint.Win.Spread.NoteIndicatorPosition.BottomLeft;
fpSpread1.Sheets[0].Cells[2, 0].ResetNoteIndicatorPosition();
FpSpread1.ActiveSheet.SetNote(2, 0, "Head of Development")
Dim nsinfo As FarPoint.Win.Spread.DrawingSpace.StickyNoteStyleInfo = New FarPoint.Win.Spread.DrawingSpace.StickyNoteStyleInfo()
nsinfo = FpSpread1.ActiveSheet.GetStickyNoteStyleInfo(2, 0)
nsinfo.BackColor = Color.Bisque
nsinfo.Font = New Font("Tahoma", 10)
FpSpread1.ActiveSheet.SetStickyNoteStyleInfo(2, 0, nsinfo)
FpSpread1.Sheets(0).Cells(2, 0).NoteIndicatorPosition = FarPoint.Win.Spread.NoteIndicatorPosition.BottomLeft
FpSpread1.Sheets(0).Cells(2, 0).ResetNoteIndicatorPosition()
参照

Cell クラス
Cell メンバ

 

 


© 2004-2015, GrapeCity inc. All rights reserved.