iTextSharp.text.pdf.parser.PdfContentStreamProcessor.ShowTextArray.Invoke C# (CSharp) Method

Invoke() public method

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