Package com.aspose.slides

Examples of com.aspose.slides.ITable.mergeCells()


              tbl.getRows().get_Item(row).get_Item(cell).getBorderRight().getFillFormat().getSolidFillColor().setColor(Color.RED);
              tbl.getRows().get_Item(row).get_Item(cell).getBorderRight().setWidth(5);
          }
      }
      //Merge cells 1 & 2 of row 1
      tbl.mergeCells(tbl.getRows().get_Item(0).get_Item(0), tbl.getRows().get_Item(1).get_Item(0), false);

      //Add text to the merged cell
      tbl.getRows().get_Item(0).get_Item(0).getTextFrame().setText("Merged Cells");

      //Save PPTX to Disk
View Full Code Here


                tbl.getRows().get_Item(row).get_Item(cell).getBorderRight().getFillFormat().getSolidFillColor().setColor(Color.RED);
                tbl.getRows().get_Item(row).get_Item(cell).getBorderRight().setWidth(5);
            }
        }
        //Merge cells 1 & 2 of row 1
        tbl.mergeCells(tbl.getRows().get_Item(0).get_Item(0), tbl.getRows().get_Item(1).get_Item(0), false);

        //Add text to the merged cell
        tbl.getRows().get_Item(0).get_Item(0).getTextFrame().setText("Merged Cells");

        //Save PPTX to Disk
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.