title: Where is the definition of MetricsGetter.GetTextWidth
body: <p>I am trying to use the <a href="https://github.com/EricWhiteDev/Open-Xml-PowerTools" rel="nofollow noreferrer">Open-XML-Powertools</a>.</p>
  
  <p>I have downloaded the current version from GitHub and I am copying a lot of code from the sample file<br>
  <em>Open-Xml-PowerTools-vNext\OpenXmlPowerTools\WmlToHtmlConverter.cs</em></p>
  
  <p>However, in application I am actually using the nuget package OpenXmlPowerTools <strong>Version 4.5.3.2</strong>, which is marked as the latest stable version.</p>
  
  <p>Part of this code uses the method <strong>MetricsGetter.GetTextWidth</strong>:</p>
  
  <pre><code>var w = MetricsGetter.GetTextWidth(ff, fs, sz, runText);
  </code></pre>
  
  <p>However, this method is not present in the version of MetricsGetter in the nuget package.</p>
  
  <p>Short term I can copy the source code of this function into my application, so will not be a big problem, but which version is up to date?</p>
  
  <p>Is the code in GitHub newer than the code in the nuget package?<br>
  Or older?<br>
  Is there an alternative method which I should use with the nuget package?</p>