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);
        }