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