PowerTools SPREAD for Windows Forms 10.0J
ResetNoteIndicatorSize メソッド (StyleInfo)


セルノートインジケーターのサイズをリセットします。
構文
'Declaration
 
Public Overridable Sub ResetNoteIndicatorSize() 
'使用法
 
Dim instance As StyleInfo
 
instance.ResetNoteIndicatorSize()
public virtual void ResetNoteIndicatorSize()
次のサンプルコードは、ResetNoteIndicatorSizeメソッドを使用します。
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-2017, GrapeCity inc. All rights reserved.