FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > CheckBoxCellType Class > CheckBoxCellType Constructor : CheckBoxCellType Constructor(String,String) |
'Declaration Public Function New( _ ByVal checkedImageUrl As String, _ ByVal uncheckedImageUrl As String _ )
'Usage Dim checkedImageUrl As String Dim uncheckedImageUrl As String Dim instance As New CheckBoxCellType(checkedImageUrl, uncheckedImageUrl)
public CheckBoxCellType( string checkedImageUrl, string uncheckedImageUrl )
FarPoint.Web.Spread.StyleInfo style=new FarPoint.Web.Spread.StyleInfo(); FpSpread1.ActiveSheetView.ColumnCount=10; FpSpread1.ActiveSheetView.PageSize=20; FpSpread1.ActiveSheetView.RowCount=20; style.CellType=new FarPoint.Web.Spread.CheckBoxCellType("img\\checked.gif","img\\unchecked.gif"); FpSpread1.ActiveSheetView.SetStyleInfo(-1,0,style);
Dim style As New FarPoint.Web.Spread.StyleInfo() FpSpread1.ActiveSheetView.ColumnCount=10 FpSpread1.ActiveSheetView.PageSize=20 FpSpread1.ActiveSheetView.RowCount=20 style.CellType=New FarPoint.Web.Spread.CheckBoxCellType("img\checked.gif","img\unchecked.gif") FpSpread1.ActiveSheetView.SetStyleInfo(-1,0,style)
Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional