fpSpread1.Sheets[0].Cells[0, 0].HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
fpSpread1.Sheets[0].Cells[0, 0].VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Bottom;
FarPoint.Win.Spread.CellType.TextCellType txt = new FarPoint.Win.Spread.CellType.TextCellType();
txt.AllowEditorVerticalAlign = true;
fpSpread1.Sheets[0].Cells[0, 0].CellType = txt;
fpSpread1.Sheets[0].Cells[0, 0].Text = "test";
fpSpread1.Sheets(0).Cells(0, 0).HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right
fpSpread1.Sheets(0).Cells(0, 0).VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Bottom
Dim txt As New FarPoint.Win.Spread.CellType.TextCellType()
txt.AllowEditorVerticalAlign = True
fpSpread1.Sheets(0).Cells(0, 0).CellType = txt;
fpSpread1.Sheets(0).Cells(0, 0).Text = "test"