ApiExamples.ExTable.FixDefaultTableBordersIn105 C# (CSharp) Метод

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

private FixDefaultTableBordersIn105 ( ) : void
Результат void
        public void FixDefaultTableBordersIn105()
        {
            //ExStart
            //ExId:FixTablesDefaultBorders
            //ExSummary:Shows how to revert the default borders on tables back to no border lines.
            Document doc = new Document();
            DocumentBuilder builder = new DocumentBuilder(doc);

            // Keep a reference to the table being built.
            Table table = builder.StartTable();
  
            builder.InsertCell();
            // Clear all borders to match the defaults used in previous versions.
            table.ClearBorders();

            // Continue with building your table as usual...
            //ExEnd
        }