PdfRpt.Core.Helper.ElementsWidth.GetPhraseWidth C# (CSharp) Method

GetPhraseWidth() public static method

Tries to find the Phrase's width, before rendering
public static GetPhraseWidth ( this phrase ) : float
phrase this the phrase
return float
        public static float GetPhraseWidth(this Phrase phrase)
        {
            return phrase.OfType<Chunk>().Sum(inner => (inner).GetWidthPoint());
        }