| メンバ | 解説 |
|---|---|
| doubleUnderline | テキストの下に二重線を表示するように指定します。 |
| lineThrough | テキストに取り消し線を付けます。 |
| none | 装飾を付けずに通常のテキストを表示します。 |
| overline | テキストに上線を付けます。 |
| underline | テキストに下線を付けます。 |
| メンバ | 解説 |
|---|---|
| doubleUnderline | テキストの下に二重線を表示するように指定します。 |
| lineThrough | テキストに取り消し線を付けます。 |
| none | 装飾を付けずに通常のテキストを表示します。 |
| overline | テキストに上線を付けます。 |
| underline | テキストに下線を付けます。 |
// 次のサンプルコードは、TextDecorationType列挙体を使用します。 activeSheet.getCell(0, 0).textDecoration(GC.Spread.Sheets.TextDecorationType.underline); activeSheet.getRange(1, -1, 1, -1).textDecoration(GC.Spread.Sheets.TextDecorationType.overline | GC.Spread.Sheets.TextDecorationType.underline); activeSheet.getRange(-1, 1, -1, 1).textDecoration(GC.Spread.Sheets.TextDecorationType.overline | GC.Spread.Sheets.TextDecorationType.lineThrough | GC.Spread.Sheets.TextDecorationType.underline); var style = new GC.Spread.Sheets.Style(); style.textDecoration = GC.Spread.Sheets.TextDecorationType.overline | GC.Spread.Sheets.TextDecorationType.underline; activeSheet.setStyle(1, 1, style, GC.Spread.Sheets.SheetArea.viewport); activeSheet.getCell(0, 0).value("Test"); activeSheet.getCell(1, 0).value("Test"); activeSheet.getCell(0, 1).value("Test");activeSheet.getCell(0, 0).textDecoration(GC.Spread.Sheets.TextDecorationType.underline); activeSheet.getRange(1, -1, 1, -1).textDecoration(GC.Spread.Sheets.TextDecorationType.overline | GC.Spread.Sheets.TextDecorationType.underline); activeSheet.getRange(-1, 1, -1, 1).textDecoration(GC.Spread.Sheets.TextDecorationType.overline | GC.Spread.Sheets.TextDecorationType.lineThrough | GC.Spread.Sheets.TextDecorationType.underline); var style = new GC.Spread.Sheets.Style(); style.textDecoration = GC.Spread.Sheets.TextDecorationType.overline | GC.Spread.Sheets.TextDecorationType.underline; activeSheet.setStyle(1, 1, style, GC.Spread.Sheets.SheetArea.viewport); activeSheet.getCell(0, 0).value("Test"); activeSheet.getCell(1, 0).value("Test"); activeSheet.getCell(0, 1).value("Test");
Object
GC.Spread.Sheets.TextDecorationType