iTextSharp.text.pdf.parser.TextMarginFinder.RenderText C# (CSharp) Method

RenderText() public method

public RenderText ( TextRenderInfo renderInfo ) : void
renderInfo TextRenderInfo
return void
        public void RenderText(TextRenderInfo renderInfo)
        {
            if (textRectangle == null)
                textRectangle = renderInfo.GetDescentLine().GetBoundingRectange();
            else
                textRectangle.Add(renderInfo.GetDescentLine().GetBoundingRectange());

            textRectangle.Add(renderInfo.GetAscentLine().GetBoundingRectange());
        }