GrapeCity SPREAD for Windows Forms 11.0J
ResetNoteIndicatorPosition メソッド (StyleInfo)


セルノートインジケーターの位置をリセットします。
構文
'Declaration
 
Public Overridable Sub ResetNoteIndicatorPosition() 
'使用法
 
Dim instance As StyleInfo
 
instance.ResetNoteIndicatorPosition()
public virtual void ResetNoteIndicatorPosition()
次のサンプルコードは、ResetNoteIndicatorPositionメソッドを使用します。
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
参照

StyleInfo クラス
StyleInfo メンバ

 

 


© 2004-2018, GrapeCity Inc. All rights reserved.