FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : SetColumnWidth Method |
Get the width for a column by calling the GetColumnWidth method.
Note: The value set by this method does not include the width of the adjacent grid line.
The default width for columns in the sheet is determined by the DefaultColumnWidth property.
If you prefer, you can allow users to resize columns by calling the SetColumnSizeable method.
Set the height for a row by calling the SetRowHeight method.
FarPoint.Web.Spread.SheetView sv; sv = FpSpread1.ActiveSheetView; sv.SetColumnWidth(1, 30);
Dim sv As FarPoint.Web.Spread.SheetView sv = FpSpread1.ActiveSheetView sv.SetColumnWidth(1, 30)
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional
SheetView Class
SheetView Members
GetColumnWidth Method
SetRowHeight Method
DefaultColumnWidth Property
Width Property