PowerTools SPREAD for Windows Forms 10.0J
TextIndent フィールド


シートスタイルのテキストインデントを表します。
構文
'Declaration
 
Public Shared ReadOnly TextIndent As SheetStyleProperty
'使用法
 
Dim value As SheetStyleProperty
 
value = SheetStyleProperty.TextIndent
public static readonly SheetStyleProperty TextIndent
次のサンプルコードは、TextIndentプロパティを取得します。
FarPoint.Win.Spread.StyleInfo info = new FarPoint.Win.Spread.StyleInfo();
bool b;
info.BackColor = Color.LightBlue;
info.TextIndent = 2;   
fpSpread1.ActiveSheet.DefaultStyle = info;
b = info.IsPropertySet(FarPoint.Win.Spread.SheetStyleProperty.TextIndent);
listBox1.Items.Add(b.ToString());
Dim info As New FarPoint.Win.Spread.StyleInfo()
Dim b As Boolean
info.BackColor = Color.LightBlue
info.TextIndent = 2
FpSpread1.ActiveSheet.DefaultStyle = info
b = info.IsPropertySet(FarPoint.Win.Spread.SheetStyleProperty.TextIndent)
ListBox1.Items.Add(b.ToString())
参照

SheetStyleProperty クラス
SheetStyleProperty メンバ

 

 


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