FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Column Class : VerticalAlignment Property |
'Declaration Public Property VerticalAlignment As CellVerticalAlignment
'Usage Dim instance As Column Dim value As CellVerticalAlignment instance.VerticalAlignment = value value = instance.VerticalAlignment
public CellVerticalAlignment VerticalAlignment {get; set;}
FarPoint.Win.Spread.Column col;
fpSpread1.ActiveSheet.Cells[0, 0].Text = "Alignment";
col = fpSpread1.ActiveSheet.Columns[0];
col.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
col.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center;
col.Width = 120;
fpSpread1.ActiveSheet.Rows[0].Height = 60;
Dim col As FarPoint.Win.Spread.Column FpSpread1.ActiveSheet.Cells(0, 0).Text = "Alignment" col = FpSpread1.ActiveSheet.Columns(0) col.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right col.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Center col.Width = 120 FpSpread1.ActiveSheet.Rows(0).Height = 60
Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8