title: epplus: How do I get a row's height after setting column's wraptext style to true?
body: <p>After I set a column's WrapText=true, I want to see what the new height of the row will be (i.e. if the text wraps, for how many lines).  It appears that the Height property of a row is not updated.</p>
  
  <pre><code>        ExcelPackage pkg = new ExcelPackage();
          ExcelWorksheet sheet = pkg.Workbook.Worksheets.Add("Test");
  
          // height is 15.0
          double heightBefore = sheet.Row(1).Height;
  
  
          sheet.Cells[1, 1].Value = "Now is the time for all good men to come to the aid of their country";
  
          ExcelColumn col = sheet.Column(1);
  
          // this will resize the width to 60
          col.AutoFit();
  
          if (col.Width &gt; 50)
          {
              col.Width = 50;
  
              // this is just a style property, and doesn't actually execute any recalculations
              col.Style.WrapText = true;
          }
  
          // so this is still 15.0.  How do I get it to compute what the size will be?
          double heightAfter = sheet.Row(1).Height;
  
          // open the xls, and the height is 30.0
          pkg.SaveAs(new System.IO.FileInfo("text.xlsx"));
  </code></pre>
  
  <p>In fact, a search for the Height property (or the underlying field _height) shows that it is only set by the property setter, and does not ever seem to be set based on anything else (like content in the row).</p>
  
  <p>Any ideas on how I can get a refreshed Height for a row?</p>
  
  <p>Thanks</p>