C# Class PdfRpt.Core.Helper.ExcelHelper

ExcelHelper class.
Mostrar archivo Open project: VahidN/PdfReport

Public Methods

Method Description
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

Method Details

ColumnWidth2Pixel() public static method

convert width to pixel
public static ColumnWidth2Pixel ( this ws, double excelColumnWidth ) : int
ws this ExcelWorksheet
excelColumnWidth double ColumnWidth
return int

Mtu2Pixel() public static method

convert MTU to pixel
public static Mtu2Pixel ( this mtus ) : int
mtus this mtus
return int

Pixel2ColumnWidth() public static method

convert pixel to width
public static Pixel2ColumnWidth ( this ws, int pixels ) : double
ws this ExcelWorksheet
pixels int pixels
return double

Pixel2Mtu() public static method

convert pixel to MTU
public static Pixel2Mtu ( this pixels ) : int
pixels this pixels
return int

Pixel2RowHeight() public static method

convert height to pixel
public static Pixel2RowHeight ( this pixels ) : double
pixels this pixels
return double

RowHeight2Pixel() public static method

convert height to pixel
public static RowHeight2Pixel ( this excelRowHeight ) : int
excelRowHeight this RowHeight
return int