Hi

The following code creates Powerpoint slides with landscape orientation:

            SlideShow ppt = new SlideShow();

            int idx = ppt.addPicture(new File(INPUT_IMAGE_FILE_NAME),
Picture.JPEG);

            Picture pict = new Picture(idx);
            pict.setAnchor(new java.awt.Rectangle(50, 50, 300, 500));


            Slide slide = ppt.createSlide();
            slide.addShape(pict);

Are there any chance to create slides with portrait orientation?

Regards
Evgeny Arseev

Reply via email to