iTextSharp.text.pdf.parser.PdfContentStreamProcessor.TextMoveStartNextLine.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)
            {
                float tx = ((PdfNumber)operands[0]).FloatValue;
                float ty = ((PdfNumber)operands[1]).FloatValue;

                Matrix translationMatrix = new Matrix(tx, ty);
                processor.textMatrix =  translationMatrix.Multiply(processor.textLineMatrix);
                processor.textLineMatrix = processor.textMatrix;
            }
PdfContentStreamProcessor.TextMoveStartNextLine