FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > Column Class : ResetWidth Method |
'Declaration Public Sub ResetWidth()
'Usage Dim instance As Column instance.ResetWidth()
public void ResetWidth()
FarPoint.Web.Spread.Column mycol; mycol = FpSpread1.ActiveSheetView.Columns[1]; mycol.CellType = new FarPoint.Web.Spread.TextCellType(); mycol.HorizontalAlign = HorizontalAlign.Right; mycol.VerticalAlign = VerticalAlign.Bottom; mycol.Locked = true; mycol.Width = 140; FpSpread1.ActiveSheetView.Cells[0, 1].Text = "Column"; //mycol.ResetCellType(); //mycol.ResetHorizontalAlignment(); //mycol.ResetVerticalAlignment(); //mycol.ResetLocked(); //mycol.ResetWidth();
Dim mycol As FarPoint.Web.Spread.Column mycol = FpSpread1.ActiveSheetView.Columns(1) mycol.CellType = New FarPoint.Web.Spread.TextCellType() mycol.HorizontalAlign = HorizontalAlign.Right mycol.VerticalAlign = VerticalAlign.Bottom mycol.Locked = True mycol.Width = 140 FpSpread1.ActiveSheetView.Cells(0, 1).Text = "Column" 'mycol.ResetCellType() 'mycol.ResetHorizontalAlignment() 'mycol.ResetVerticalAlignment() 'mycol.ResetLocked() 'mycol.ResetWidth()
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