Spread Windows Forms 12.0 Product Documentation
VerticalAlignment Property (Row)
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > Row Class : VerticalAlignment Property
Gets or sets the default vertical alignment for cells in this row.
Syntax
'Declaration
 
Public Property VerticalAlignment As CellVerticalAlignment
'Usage
 
Dim instance As Row
Dim value As CellVerticalAlignment
 
instance.VerticalAlignment = value
 
value = instance.VerticalAlignment
public CellVerticalAlignment VerticalAlignment {get; set;}

Property Value

CellVerticalAlignment object containing the vertical alignment for cell contents
Remarks
This property does not apply to the rich text cell.
Example
This example specifies the alignment for values in the row.
FarPoint.Win.Spread.Row r;
r = fpSpread1.ActiveSheet.Rows[0];
r.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right;
r.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Bottom;
r.Height = 70;
fpSpread1.ActiveSheet.SetValue(0, 0, "Alignment");
Dim r As FarPoint.Win.Spread.Row
r = FpSpread1.ActiveSheet.Rows(0)
r.HorizontalAlignment = FarPoint.Win.Spread.CellHorizontalAlignment.Right
r.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Bottom
r.Height = 70
FpSpread1.ActiveSheet.SetValue(0, 0, "Alignment")
See Also

Reference

Row Class
Row Members
CellVerticalAlignment Enumeration