PdfRpt.Core.Helper.ExcelHelper.RowHeight2Pixel C# (CSharp) Метод

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

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