bool DrawColumnEntry(IDrawer2D drawer, ref DrawTextArgs args, int maxWidth, int x, ref int y, ref TableEntry entry) { Size size = drawer.MeasureSize(ref args); bool empty = args.Text == ""; if (empty) { size.Height = entryHeight; } if (y + size.Height > table.Y + table.Height) { y = table.Y + table.Height + 2; return(false); } entry.Y = y; entry.Height = size.Height; if (!empty) { size.Width = Math.Min(maxWidth, size.Width); args.SkipPartsCheck = false; drawer.DrawClippedText(ref args, x, y, maxWidth, 30); } y += size.Height + 2; return(true); }