iTextSharp.text.SimpleTable.TableLayout C# (CSharp) Метод

TableLayout() публичный Метод

public TableLayout ( PdfPTable table, float widths, float heights, int headerRows, int rowStart, PdfContentByte canvases ) : void
table iTextSharp.text.pdf.PdfPTable
widths float
heights float
headerRows int
rowStart int
canvases iTextSharp.text.pdf.PdfContentByte
Результат void
        public void TableLayout(PdfPTable table, float[][] widths, float[] heights, int headerRows, int rowStart, PdfContentByte[] canvases) {
            float[] width = widths[0];
            Rectangle rect = new Rectangle(width[0], heights[heights.Length - 1], width[width.Length - 1], heights[0]);
            rect.CloneNonPositionParameters(this);
            int bd = rect.Border;
            rect.Border = Rectangle.NO_BORDER;
            canvases[PdfPTable.BACKGROUNDCANVAS].Rectangle(rect);
            rect.Border = bd;
            rect.BackgroundColor = null;
            canvases[PdfPTable.LINECANVAS].Rectangle(rect);
        }