iTextSharp.text.SimpleTable.AddElement C# (CSharp) Method

AddElement() public method

public AddElement ( SimpleCell element ) : void
element SimpleCell
return void
        public void AddElement(SimpleCell element) {
            if (!element.Cellgroup) {
                throw new BadElementException("You can't add cells to a table directly, add them to a row first.");
            }
            content.Add(element);
        }