Output is simple not with all styles


#1

Hi
I was trying to export text shape as svg from a slide using Aspose.slides.Net.But the output svg is simple.I want to export shape with pattern field property.
pp.zip (30.7 KB)

I have attached the file.
Please Help.


#2

@kamaldeepsingh,

I have worked with source files shared by you and have been able to observe the issue. A ticket with ID SLIDESNET-41100 has been created in our issue tracking system to further investigate issue in detail. This thread has been linked with issue so that you may be automatically notified once issue will be fixed.


#3

@kamaldeepsingh,

I like to inform that we have investigated issue on our end and like to inform that source presentation contains an embedded font. In order to improve the quality of such SVG export “VectorizeText” option might be used, like this:

using (Presentation pres = new Presentation("pp.pptx"))
{
    SVGOptions options  = new SVGOptions
    {
        VectorizeText = true
    };
    using(FileStream fs = new FileStream("pp.svg", FileMode.OpenOrCreate)) pres.Slides[0].WriteAsSvg(fs, options);
}

Please let us know if results are convenient for you.