FarPoint.Web.Spread 名前空間 > SheetView クラス : RowHeaderSpanModel プロパティ |
'Declaration
Public Property RowHeaderSpanModel As ISheetSpanModel
public ISheetSpanModel RowHeaderSpanModel {get; set;}
このプロパティは実行時のみ使用できます。
列ヘッダのオブジェクトを取得または設定するには、ColumnHeaderSpanModelプロパティを使用します。
FarPoint.Web.Spread.SheetView sv = FpSpread1.ActiveSheetView; FarPoint.Web.Spread.StyleInfoinfo = new FarPoint.Web.Spread.StyleInfo(); info.Border = new FarPoint.Web.Spread.Border(BorderStyle.Dotted, Color.Teal, 2); sv.PageSize = 10; sv.RowCount = 10; sv.RowHeader.ColumnCount = 3; sv.RowHeaderSpanModel.Add(0, 0, 2, 2); sv.RowHeaderStyleModel.SetDirectInfo(0, 0, info); sv.RowHeaderColumnAxisModel.SetSize(0, 50);
Dim sv As FarPoint.Web.Spread.SheetView Dim info As New FarPoint.Web.Spread.StyleInfo() info.Border = New FarPoint.Web.Spread.Border(BorderStyle.Dotted, Color.Teal, 2) sv = FpSpread1.ActiveSheetView sv.PageSize = 10 sv.RowCount = 10 sv.RowHeader.ColumnCount = 3 sv.RowHeaderSpanModel.Add(0, 0, 2, 2) sv.RowHeaderStyleModel.SetDirectInfo(0, 0, info) sv.RowHeaderColumnAxisModel.SetSize(0, 50)