PdfRpt.Core.Helper.ExcelHelper.RowHeight2Pixel C# (CSharp) Method

RowHeight2Pixel() public static method

convert height to pixel
public static RowHeight2Pixel ( this excelRowHeight ) : int
excelRowHeight this RowHeight
return int
        public static int RowHeight2Pixel(this double excelRowHeight)
        {
            var pixels = decimal.Truncate((decimal)(excelRowHeight / 0.75));
            return Convert.ToInt32(pixels, CultureInfo.InvariantCulture);
        }