/** * Displays text. * @param string the text to display */ private void DisplayPdfString(PdfString str) { TextRenderInfo renderInfo = new TextRenderInfo(str, Gs(), textMatrix, markedContentStack); renderListener.RenderText(renderInfo); textMatrix = new Matrix(renderInfo.GetUnscaledWidth(), 0).Multiply(textMatrix); }
/** * Displays text. * @param string the text to display */ private void DisplayPdfString(PdfString str){ String unicode = Decode(str); TextRenderInfo renderInfo = new TextRenderInfo(unicode, Gs(), textMatrix, markedContentStack); renderListener.RenderText(renderInfo); textMatrix = new Matrix(renderInfo.GetUnscaledWidth(), 0).Multiply(textMatrix); }