Hi I am using the trial version of ASPOSE.
I am using the following piece of Code:
Presentation pr = new Presentation();
Slide slide = pr.getSlideByPosition(1);
System.out.println("Name of slide is " + slide.getName());
//slide.get
System.out.println("Slide is >> " + slide);
slide.setName("YPTest");
FileInputStream input = new FileInputStream("E:\\PRESENTATION\\Folders\\chartImage.png");
Picture pic = new Picture(pr,input);
int picid = pr.getPictures().add(pic);
Shapes shapes = slide.getShapes();
System.out.println("Size of Shape is >>> " + shapes.size());
PictureFrame picFrame = shapes.addPictureFrame(picid, 1000, 1000, 3000, 3000);
picFrame.setName("TestFrame");
Rectangle rect = shapes.addRectangle(2000, 4000, 10 ,10);
rect.addTextFrame("YP");
System.out.println("Size of shapes is " + shapes.size());
OutputStream out = new FileOutputStream("E:\\ASPOSE\\testSlide1.ppt");
pr.write(out);
out.close();
The slide I get is shown in attachmetnt.
I want to remove the default text appearing below :
How Can I do that?
Regards,
Yashaswi