C# Class OfficeOpenXml.ExcelColumn

Represents an individual column within the worksheet
Afficher le fichier Open project: ylatuya/EPPlus Class Usage Examples

Private Properties

Свойство Type Description
Clone void
GetColumnID ulong

Méthodes publiques

Méthode Description
AutoFit ( ) : void

Set the column width from the content of the range. The minimum width is the value of the ExcelWorksheet.defaultColumnWidth property. Note: Cells containing formulas are ignored since EPPlus don't have a calculation engine. Wraped and merged cells are also ignored.

AutoFit ( double MinimumWidth ) : void

Set the column width from the content. Note: Cells containing formulas are ignored since EPPlus don't have a calculation engine. Wraped and merged cells are also ignored.

ToString ( ) : string

Returns the range of columns covered by the column definition.

Méthodes protégées

Méthode Description
ExcelColumn ( OfficeOpenXml.ExcelWorksheet Worksheet, int col ) : System

Creates a new instance of the ExcelColumn class. For internal use only!

Private Methods

Méthode Description
Clone ( OfficeOpenXml.ExcelWorksheet added ) : void

Copies the current column to a new worksheet

GetColumnID ( int sheetID, int column ) : ulong

Get the internal RangeID

Method Details

AutoFit() public méthode

Set the column width from the content of the range. The minimum width is the value of the ExcelWorksheet.defaultColumnWidth property. Note: Cells containing formulas are ignored since EPPlus don't have a calculation engine. Wraped and merged cells are also ignored.
public AutoFit ( ) : void
Résultat void

AutoFit() public méthode

Set the column width from the content. Note: Cells containing formulas are ignored since EPPlus don't have a calculation engine. Wraped and merged cells are also ignored.
public AutoFit ( double MinimumWidth ) : void
MinimumWidth double Minimum column width
Résultat void

ExcelColumn() protected méthode

Creates a new instance of the ExcelColumn class. For internal use only!
protected ExcelColumn ( OfficeOpenXml.ExcelWorksheet Worksheet, int col ) : System
Worksheet OfficeOpenXml.ExcelWorksheet
col int
Résultat System

ToString() public méthode

Returns the range of columns covered by the column definition.
public ToString ( ) : string
Résultat string