パラメータ
- column
- 列インデックス
戻り値の型
AutoTextIndexによって指定された列ヘッダセルのテキストを含むString
この例では、ColumnHeaderオブジェクトとSheetViewオブジェクトを作成し、SheetViewオブジェクトを使用して4番目のヘッダからヘッダテキストをリストボックスに返します。
FarPoint.Web.Spread.ColumnHeader colhdr;
FarPoint.Web.Spread.SheetView sv = FpSpread1.ActiveSheetView;
colhdr = sv.ColumnHeader;
colhdr.RowCount = 3;
colhdr.AutoText = FarPoint.Web.Spread.HeaderAutoText.Letters;
ListBox1.Items.Add(Convert.ToString(sv.GetColumnAutoText(3)));
Dim colhdr As FarPoint.Web.Spread.ColumnHeader
Dim sv As FarPoint.Web.Spread.SheetView
sv = FpSpread1.ActiveSheetView
colhdr = sv.ColumnHeader
colhdr.RowCount = 3
colhdr.AutoText = FarPoint.Web.Spread.HeaderAutoText.Letters
ListBox1.Items.Add(sv.GetColumnAutoText(3))