iTextSharp.text.pdf.VerticalText.CreateLine C# (CSharp) Метод

CreateLine() защищенный Метод

protected CreateLine ( float width ) : PdfLine
width float
Результат PdfLine
        protected PdfLine CreateLine(float width)
        {
            if (chunks.Count == 0)
                return null;
            splittedChunkText = null;
            currentStandbyChunk = null;
            PdfLine line = new PdfLine(0, width, alignment, 0);
            string total;
            for (currentChunkMarker = 0; currentChunkMarker < chunks.Count; ++currentChunkMarker) {
                PdfChunk original = chunks[currentChunkMarker];
                total = original.ToString();
                currentStandbyChunk = line.Add(original);
                if (currentStandbyChunk != null) {
                    splittedChunkText = original.ToString();
                    original.Value = total;
                    return line;
                }
            }
            return line;
        }