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); } } }
public void Invoke(PdfContentStreamProcessor processor, PdfLiteral oper, List<PdfObject> operands) { PdfArray array = (PdfArray)operands[0]; float tj = 0; foreach (PdfObject entryObj in array) { if (entryObj is PdfString){ processor.DisplayPdfString((PdfString)entryObj); tj = 0; } else { tj = ((PdfNumber)entryObj).FloatValue; processor.ApplyTextAdjust(tj); } } }