Spread.Sheets
borderVertical フィールド
GC.Spread.Sheets.Tables 名前空間 > TableStyle タイプ : borderVertical フィールド
テーブルの縦罫線を示します。
シンタックス
var instance = new GC.Spread.Sheets.Tables.TableStyle(backColor,
                                                     foreColor,
                                                     font,
                                                     borderLeft,
                                                     borderTop,
                                                     borderRight,
                                                     borderBottom,
                                                     borderHorizontal,
                                                     borderVertical,
                                                     textDecoration);
var value; // Type: LineBorder
value = instance.borderVertical;
var borderVertical : LineBorder;
使用例
次のサンプルコードは、borderVerticalプロパティを設定します。
// 次のサンプルコードは、borderHorizontalプロパティを設定します。 var tableStyle = new GC.Spread.Sheets.Tables.TableTheme(); var thinBorder = new GC.Spread.Sheets.LineBorder("black", GC.Spread.Sheets.LineStyle.dotted); tableStyle.wholeTableStyle(new GC.Spread.Sheets.Tables.TableStyle("aliceblue", "green", "bold 10pt arial", thinBorder, thinBorder, thinBorder, thinBorder, thinBorder, thinBorder)); var tStyleInfo = new GC.Spread.Sheets.Tables.TableStyle(); tStyleInfo.backColor = "green"; tStyleInfo.foreColor = "red"; tStyleInfo.borderHorizontal = new GC.Spread.Sheets.LineBorder("red", GC.Spread.Sheets.LineStyle.thin); tStyleInfo.borderVertical = new GC.Spread.Sheets.LineBorder("blue", GC.Spread.Sheets.LineStyle.thin); tStyleInfo.font = "bold 11pt arial"; tableStyle.firstRowStripStyle(tStyleInfo); var table = activeSheet.tables.add("table1", 1, 1, 5, 5, tableStyle);
var tableStyle = new GC.Spread.Sheets.Tables.TableTheme();
var thinBorder = new GC.Spread.Sheets.LineBorder("black", GC.Spread.Sheets.LineStyle.dotted);
tableStyle.wholeTableStyle(new GC.Spread.Sheets.Tables.TableStyle("aliceblue", "green", "bold 10pt arial", thinBorder, thinBorder, thinBorder, thinBorder, thinBorder, thinBorder));
var tStyleInfo = new GC.Spread.Sheets.Tables.TableStyle();
tStyleInfo.backColor = "green";
tStyleInfo.foreColor = "red";
tStyleInfo.borderHorizontal = new GC.Spread.Sheets.LineBorder("red", GC.Spread.Sheets.LineStyle.thin);
tStyleInfo.borderVertical = new GC.Spread.Sheets.LineBorder("blue", GC.Spread.Sheets.LineStyle.thin);
tStyleInfo.font = "bold 11pt arial";
tableStyle.firstRowStripStyle(tStyleInfo);
var table = activeSheet.tables.add("table1", 1, 1, 5, 5, tableStyle);
関連トピック

参照

TableStyle タイプ