GrapeCity.Windows.SpreadSheet.Data Namespace > Worksheet Class > Worksheet Constructor : Worksheet Constructor(Int32,Int32,Int32,Int32) |
'Declaration Public Function New( _ ByVal rowCount As System.Integer, _ ByVal columnCount As System.Integer, _ ByVal rowHeaderColumnCount As System.Integer, _ ByVal columnHeaderRowCount As System.Integer _ )
'Usage Dim rowCount As System.Integer Dim columnCount As System.Integer Dim rowHeaderColumnCount As System.Integer Dim columnHeaderRowCount As System.Integer Dim instance As New Worksheet(rowCount, columnCount, rowHeaderColumnCount, columnHeaderRowCount)
public Worksheet( System.int rowCount, System.int columnCount, System.int rowHeaderColumnCount, System.int columnHeaderRowCount )
//Add some sheets gcSpreadSheet1.Sheets.Add(new Worksheet()); gcSpreadSheet1.Sheets.Add(new Worksheet("customSheet")); gcSpreadSheet1.Sheets.Add(new Worksheet(new StyleInfoCollection())); gcSpreadSheet1.Sheets.Add(new Worksheet(10, 10)); gcSpreadSheet1.Sheets.Add(new Worksheet(10, 10, 2, 2));
'Add some sheets GcSpreadSheet1.Sheets.Add(New Worksheet()) GcSpreadSheet1.Sheets.Add(New Worksheet("customSheet")) GcSpreadSheet1.Sheets.Add(New Worksheet(New StyleInfoCollection())) GcSpreadSheet1.Sheets.Add(New Worksheet(10, 10)) GcSpreadSheet1.Sheets.Add(New Worksheet(10, 10, 2, 2))
Target Platforms: Windows 7, Windows 8 Desktop, Windows Vista SP1 or later, Windows Server 2000, Windows 2000 Professional (SP4), Windows XP (SP2), Windows 2008, Windows 2003 Server (SP1)