C# Класс PdfRpt.Core.Helper.ExcelHelper

ExcelHelper class.
Показать файл Открыть проект

Открытые методы

Метод Описание
ColumnWidth2Pixel ( this ws, double excelColumnWidth ) : int

convert width to pixel

Mtu2Pixel ( this mtus ) : int

convert MTU to pixel

Pixel2ColumnWidth ( this ws, int pixels ) : double

convert pixel to width

Pixel2Mtu ( this pixels ) : int

convert pixel to MTU

Pixel2RowHeight ( this pixels ) : double

convert height to pixel

RowHeight2Pixel ( this excelRowHeight ) : int

convert height to pixel

Описание методов

ColumnWidth2Pixel() публичный статический Метод

convert width to pixel
public static ColumnWidth2Pixel ( this ws, double excelColumnWidth ) : int
ws this ExcelWorksheet
excelColumnWidth double ColumnWidth
Результат int

Mtu2Pixel() публичный статический Метод

convert MTU to pixel
public static Mtu2Pixel ( this mtus ) : int
mtus this mtus
Результат int

Pixel2ColumnWidth() публичный статический Метод

convert pixel to width
public static Pixel2ColumnWidth ( this ws, int pixels ) : double
ws this ExcelWorksheet
pixels int pixels
Результат double

Pixel2Mtu() публичный статический Метод

convert pixel to MTU
public static Pixel2Mtu ( this pixels ) : int
pixels this pixels
Результат int

Pixel2RowHeight() публичный статический Метод

convert height to pixel
public static Pixel2RowHeight ( this pixels ) : double
pixels this pixels
Результат double

RowHeight2Pixel() публичный статический Метод

convert height to pixel
public static RowHeight2Pixel ( this excelRowHeight ) : int
excelRowHeight this RowHeight
Результат int