Winnovative Excel Library

ExcelWorksheet Methods

Winnovative Excel Library Documentation

The ExcelWorksheet type exposes the following members.

Methods

  NameDescription
Public methodActivate
Makes this worksheet the active worksheet of the workbook.
Public methodAutofitColumn
Changes the width of the specified column to achieve the best fit for the cells content.
Public methodAutofitColumns
Changes the width of the used range columns to achieve the best fit for the cells content.
Public methodAutofitRow
Changes the height of the specified row to achieve the best fit for the cells content.
Public methodAutofitRows
Changes the height of the used range rows to achieve the best fit for the cells content.
Public methodDeleteColumn
Removes the column at the specified zero based index from worksheet.
Public methodDeleteRow
Removes the row at the specified zero based index from worksheet.
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetColumnVisibility
Gets the visibility of the column at the specified index.
Public methodGetColumnWidthInChars
Gets the specified column width in characters. On a worksheet, you can specify a column width of 0 to 255. This value represents the number of characters that can be displayed in a cell that is formatted with the standard font (standard font: The default text font for worksheets. The standard font determines the default font for the Normal cell style.). The default column width is 8.43 characters.
Public methodGetDataTable(ExcelRange, Boolean)
Gets a System.Data.DataTable object from the specified source range. If the getColumnNames parameter is true the first row of the range will be used to obtain names for the DataTable columns.
Public methodGetDataTable(ExcelRange, Boolean, Boolean, Boolean)
Gets a System.Data.DataTable object from the specified source range. If the getColumnNames parameter is true the first row of the range will be used to obtain names for the DataTable columns. If the getFormulaResult parameter is true the result values of the formulas evaluation will be exported If the getColumnDataTypes is true the data type of the first value of the range column will give the data type of the corresponding column in the resulted DataTable.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetRowHeightInPoints
Gets the specified row height in points. You can specify a row height of 0 to 409. This value represents the height measurement in points (1 point equals 1/72 inch). The default row height is 12.75 points.
Public methodGetRowVisibility
Gets the visibility of the row at the specified index.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInsertColumn(Int32)
Inserts a column at the specified one based index in worksheet. The new column will have the default style of the worksheet.
Public methodInsertColumn(Int32, Boolean, Boolean)
Inserts a column with style at the specified one based index in worksheet. If inheritStyle parameter is false the new column will have the default style of the worksheet. If inheritStyle is true the new column will inherit the style from the previous column if fromPrevious parameter is true or from the next column if the fromPrevious parameter is false.
Public methodInsertRow(Int32)
Inserts a row at the specified one based in worksheet. The new row will have the default style of the worksheet.
Public methodInsertRow(Int32, Boolean, Boolean)
Inserts a row with style at the specified one based in worksheet. If inheritStyle parameter is false the new row will have the default style of the worksheet. If inheritStyle is true the new row will inherit the style from the previous row if fromPrevious parameter is true or from the next row if the fromPrevious parameter is false.
Public methodLoadDataTable(DataTable, Int32, Int32, Boolean)
Loads the values from the specified System.Data.DataTable object into the worksheet at the location given by the top row and left column indexes.
Public methodLoadDataTable(DataTable, Int32, Int32, Int32, Int32, Boolean)
Loads the values from the specified System.Data.DataTable object into the worksheet at the location given by the top row and left column indexes.
Public methodLoadDataView(DataView, Int32, Int32, Boolean)
Loads the values from the specified System.Data.DataView object into the worksheet at the location given by the top row and left column indexes.
Public methodLoadDataView(DataView, Int32, Int32, Int32, Int32, Boolean)
Loads the values from the specified System.Data.DataView object into the worksheet at the location given by the top row and left column indexes.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMoveTo
Moves the worksheet in the worksheets collection of the workbook.
Public methodSetColumnAutoStyle
Sets the auto style of a column. If this method is called before a cell in the specified column becomes part of the used range (a value is set in cell), the cell will automatically be assigned with the specified column style.
Public methodSetColumnVisibility
Sets the visibility of the column at the specified index.
Public methodSetColumnWidthInChars
Sets the column width in characters for the specified column. On a worksheet, you can specify a column width of 0 to 255. This value represents the number of characters that can be displayed in a cell that is formatted with the standard font (standard font: The default text font for worksheets. The standard font determines the default font for the Normal cell style.). The default column width is 8.43 characters. If the column width is set to 0, the column is hidden.
Public methodSetDefaultColumnWidthInChars
Sets the default column width in characters for the columns in this worksheet.
Public methodSetDefaultRowHeightInPoints
Sets the default row height in points. You can specify a row height of 0 to 409. This value represents the height measurement in points (1 point equals 1/72 inch). The default row height is 12.75 points.
Public methodSetRowAutoStyle
Set the auto style of a row. If this method is called before a cell in the specified row becomes part of the used range (a value is set in cell), the cell will automatically be assigned with the specified row style.
Public methodSetRowHeightInPoints
Sets the row height in points for the specified row. You can specify a row height of 0 to 409. This value represents the height measurement in points (1 point equals 1/72 inch). The default row height is 12.75 points. If the row height is set to 0, the row is hidden.
Public methodSetRowVisibility
Sets the visibility of the row at the specified index.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference