PowerTools SPREAD for ASP.NET 8.0J
ColumnFooter プロパティ (SheetView)

シートの列フッタを取得します。
構文
'Declaration
 
Public ReadOnly Property ColumnFooter As ColumnFooter
public ColumnFooter ColumnFooter {get;}
次のサンプルコードは、ColumnFooterプロパティを使用します。
FarPoint.Web.Spread.SheetView sv = FpSpread1.ActiveSheetView;
FarPoint.Web.Spread.StyleInfo info = new FarPoint.Web.Spread.StyleInfo();
info.Border = new FarPoint.Web.Spread.Border(BorderStyle.Dotted, Color.Teal, 2);
sv.ColumnFooterVisible = true;
sv.ColumnFooterHeight = 100;
sv.ColumnFooter.Rows.Count = 3;
sv.ColumnFooterSpanModel.Add(0, 0, 2, 2);
sv.ColumnFooterStyleModel.SetDirectInfo(0, 0, info);
sv.ColumnFooterRowAxisModel.SetSize(0, 50);
FpSpread1.Sheets.Add(sv);
ListBox1.Items.Add(sv.ColumnFooterDataModel.ColumnCount.ToString());
ListBox1.Items.Add(sv.ColumnFooterDataModel.RowCount.ToString());
Dim sv As FarPoint.Web.Spread.SheetView = FpSpread1.ActiveSheetView
Dim info As New FarPoint.Web.Spread.StyleInfo()
info.Border = New FarPoint.Web.Spread.Border(BorderStyle.Dotted, Color.Teal, 2)
sv.ColumnFooterVisible = True
sv.ColumnFooterHeight = 100
sv.ColumnFooter.Rows.Count = 3
sv.ColumnFooterSpanModel.Add(0, 0, 2, 2)
sv.ColumnFooterStyleModel.SetDirectInfo(0, 0, info)
sv.ColumnFooterRowAxisModel.SetSize(0, 50)
FpSpread1.Sheets.Add(sv)
ListBox1.Items.Add(sv.ColumnFooterDataModel.ColumnCount.ToString())
ListBox1.Items.Add(sv.ColumnFooterDataModel.RowCount.ToString())
参照

SheetView クラス
SheetView メンバ

 

 


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