ApplyTextAdjust() приватный Метод

private ApplyTextAdjust ( float tj ) : void
tj float
Результат 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);
                    }
                }
            }
Пример #2
0
            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);
                    }
                }

            }