C# 클래스 OfficeOpenXml.ExcelColumn

Represents an individual column within the worksheet
파일 보기 프로젝트 열기: ylatuya/EPPlus 1 사용 예제들

Private Properties

프로퍼티 타입 설명
Clone void
GetColumnID ulong

공개 메소드들

메소드 설명
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.

보호된 메소드들

메소드 설명
ExcelColumn ( OfficeOpenXml.ExcelWorksheet Worksheet, int col ) : System

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

비공개 메소드들

메소드 설명
Clone ( OfficeOpenXml.ExcelWorksheet added ) : void

Copies the current column to a new worksheet

GetColumnID ( int sheetID, int column ) : ulong

Get the internal RangeID

메소드 상세

AutoFit() 공개 메소드

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
리턴 void

AutoFit() 공개 메소드

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
리턴 void

ExcelColumn() 보호된 메소드

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
리턴 System

ToString() 공개 메소드

Returns the range of columns covered by the column definition.
public ToString ( ) : string
리턴 string