We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Ppt to svg error

Presentation pres = new Presentation("D:\\devtest\\aspose\\result\\wcx\\RP140818000000000011.pptx");<br>       //Getting last slide index<br>        int lastSlidePosition = pres.getSlides().size();<br>        ISlide slide = null;<br>//Iterating through every presentation slide and generating SVG image<br>        for (int i = 0; i < lastSlidePosition; i++) {<br>            //Accessing Slides<br>            slide = pres.getSlides().get_Item(i);<br><br>            //Getting and saving the slide SVG image<br>            try {<br>                //java.io.BufferedWriter<br>                //ByteArrayOutputStream bos = new ByteArrayOutputStream();<br>                slide.writeAsSvg(new FileOutputStream("D:\\devtest\\aspose\\result\\wcx\\main08" + i + ".svg"));<br>               // slide.writeAsSvg(bos);<br>                //System.out.println(bos.toString());<br>            } catch (IOException e) {<br>            }<br>        }<br><br><pre class="code-java">//version is aspose.slides-14.6.0<br>//<span style="color: rgb(102, 102, 102); font-family: Tahoma, Arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 24px; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgba(255, 255, 255, 0.8); display: inline !important; float: none;"><span style="color: rgb(102, 102, 102); font-family: Tahoma, Arial; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 24px; orphans: auto; text-align: justify; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: rgb(238, 238, 238); display: inline !important; float: none;">Generated SVG y axis labels misplaced<br></span>//jdk1.7 64bit<br>//windows7 64bit</span></pre><br><div>

Hi John,

I have observed the sample code and presentation file shared by you. I have created an issue with ID SLIDESJAVA-34532 in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,