FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > SheetView Class : DefaultColumnWidth Property |
'Declaration Public Property DefaultColumnWidth As Integer
'Usage Dim instance As SheetView Dim value As Integer instance.DefaultColumnWidth = value value = instance.DefaultColumnWidth
public int DefaultColumnWidth {get; set;}
Set this property to specify the width in pixels for all columns in the sheet. If you want to specify the width for a particular column in the sheet, use the SetColumnWidth method or the Width method for a Column object.
To set the height for all rows in the sheet, set the DefaultRowHeight property.
FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView; sv.DefaultColumnWidth=120; sv.DefaultRowHeight=30;
Dim sv As FarPoint.Web.Spread.SheetView sv=FpSpread1.ActiveSheetView sv.DefaultColumnWidth=120 sv.DefaultRowHeight=30
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
SheetView Class
SheetView Members
SetColumnWidth Method
DefaultRowHeight Property
GetColumnWidth Method
Width Property