FarPoint.Win.SpreadJ アセンブリ > FarPoint.Win.Spread.CellType 名前空間 > ButtonCellType クラス : TextOrientation プロパティ |
'Declaration Public Property TextOrientation As TextOrientation
'使用法 Dim instance As ButtonCellType Dim value As TextOrientation instance.TextOrientation = value value = instance.TextOrientation
public TextOrientation TextOrientation {get; set;}
Orientationの設定は次のとおりです。
Orientation | 表示例 |
---|---|
TextHorizontal | |
TextHorizontalFlipped | |
TextVertical | |
TextVerticalFlipped | |
TextTopDown | |
TextTopDownRTL |
FarPoint.Win.Spread.CellType.ButtonCellType butncell = new FarPoint.Win.Spread.CellType.ButtonCellType(); butncell.Text = "Click"; butncell.TextOrientation = FarPoint.Win.TextOrientation.TextVertical; fpSpread1.Sheets[0].Cells[2, 2].CellType = butncell;
Dim butncell As New FarPoint.Win.Spread.CellType.ButtonCellType() butncell.Text = "Click" butncell.TextOrientation = FarPoint.Win.TextOrientation.TextVertical FpSpread1.Sheets(0).Cells(2, 2).CellType = butncell