Exemplo n.º 1
0
            public void Invoke(PdfContentStreamProcessor processor, PdfLiteral oper, List <iTextSharp.text.pdf.PdfObject> operands)
            {
                PdfArray array = (PdfArray)operands[0];
                float    tj    = 0;

                foreach (iTextSharp.text.pdf.PdfObject entryObj in array.ArrayList)
                {
                    if (entryObj is PdfString)
                    {
                        processor.DisplayPdfString((PdfString)entryObj);
                        tj = 0;
                    }
                    else
                    {
                        tj = ((PdfNumber)entryObj).FloatValue;
                        processor.ApplyTextAdjust(tj);
                    }
                }
            }
Exemplo n.º 2
0
            public void Invoke(PdfContentStreamProcessor processor, PdfLiteral oper, List <iTextSharp.text.pdf.PdfObject> operands)
            {
                PdfString str = (PdfString)operands[0];

                processor.DisplayPdfString(str);
            }