Package com.aspose.slides

Examples of com.aspose.slides.IParagraph


      //Accessing the first and second placeholder in the slide and typecasting it as AutoShape
      ITextFrame tf1 = ((IAutoShape)slide.getShapes().get_Item(0)).getTextFrame();
      ITextFrame tf2 = ((IAutoShape)slide.getShapes().get_Item(1)).getTextFrame();

      //Accessing the first Paragraph
      IParagraph para1 = tf1.getParagraphs().get_Item(0);
      IParagraph para2 = tf2.getParagraphs().get_Item(0);

      //Accessing the first portion
      IPortion port1 = para1.getPortions().get_Item(0);
      IPortion port2 = para2.getPortions().get_Item(0);

      //Define new fonts
      FontData fd1 = new FontData("Elephant");
      FontData fd2 = new FontData("Castellar");
View Full Code Here

TOP

Related Classes of com.aspose.slides.IParagraph

Copyright © 2018 www.massapicom. 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.