'Declaration Public Sub SetColumnWidth( _ ByVal column As System.Integer, _ ByVal sheetArea As SheetArea, _ ByVal width As System.Double _ )
Parameters
- column
- The column index of the first column.
- sheetArea
- The sheet area.
- width
- The width.
'Declaration Public Sub SetColumnWidth( _ ByVal column As System.Integer, _ ByVal sheetArea As SheetArea, _ ByVal width As System.Double _ )
gcSpreadSheet1.Sheets[0].SetValue(0, 0, "value"); gcSpreadSheet1.Sheets[0].AddRows(0, 2); gcSpreadSheet1.Sheets[0].AddColumns(0, 2); gcSpreadSheet1.Sheets[0].SetRowHeight(0, SheetArea.Cells, 50d); gcSpreadSheet1.Sheets[0].SetColumnWidth(0, SheetArea.Cells, 150d); gcSpreadSheet1.Sheets[0].Rows[0].Background = new SolidColorBrush(Colors.Gray); gcSpreadSheet1.Sheets[0].Columns[0].Background = new SolidColorBrush(Colors.Brown);
GcSpreadSheet1.Sheets(0).SetValue(0, 0, "value") GcSpreadSheet1.Sheets(0).AddRows(0, 2) GcSpreadSheet1.Sheets(0).AddColumns(0, 2) GcSpreadSheet1.Sheets(0).SetRowHeight(0, SheetArea.Cells, 50.0) GcSpreadSheet1.Sheets(0).SetColumnWidth(0, SheetArea.Cells, 150.0) GcSpreadSheet1.Sheets(0).Rows(0).Background = New SolidColorBrush(Colors.Gray) GcSpreadSheet1.Sheets(0).Columns(0).Background = New SolidColorBrush(Colors.Brown)