FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Cell Class : ResetVerticalAlignment Method |
'Declaration Public Sub ResetVerticalAlignment()
'Usage Dim instance As Cell instance.ResetVerticalAlignment()
public void ResetVerticalAlignment()
FarPoint.Web.Spread.Cell mycell; mycell = FpSpread1.Cells[1, 1]; mycell.Value = 5; object tagvalue; tagvalue = "tag"; mycell.HorizontalAlign = HorizontalAlign.Center; mycell.VerticalAlign = VerticalAlign.Top; FpSpread1.ActiveSheetView.Rows[1].Height = 80; //mycell.ResetTag(); //mycell.ResetValue(); //mycell.ResetHorizontalAlignment(); //mycell.ResetVerticalAlignment();
Dim mycell As FarPoint.Web.Spread.Cell mycell = FpSpread1.Cells(1, 1) mycell.Value = 5 Dim tagvalue As Object tagvalue = "tag" mycell.HorizontalAlign = HorizontalAlign.Center mycell.VerticalAlign = VerticalAlign.Top FpSpread1.ActiveSheetView.Rows(1).Height = 80 'mycell.ResetTag() 'mycell.ResetValue() 'mycell.ResetHorizontalAlignment() 'mycell.ResetVerticalAlignment()
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6