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

Free Support Forum - aspose.com

Copy slides with chart issue

Hello,

When I open an existing presentation, which contains a slide with a “dot” chart, and copy that slide into new presentation “dots” disappear.

Source:

image.png (16.9 KB)

Result:

image.png (11.3 KB)

Please see sample project attached.

Presentation.zip (560.3 KB)

Will appreciate any info.

Best reagrds,
Roman K

@kasyanovri,

I have tested the sample code shared by you using Aspose.Slides for .NET 18.8 on my end and have not been able to observe any issue. Please observe the snapshot of generated presentation. I have used following sample code and the generated presentation is also attached for reference.

public static void TestPresentationIssue()
{
    String path = @"C:\Presentation\Presentation\";
    using (var inputPresentation = new Presentation(path+"problematic_slide.pptx"))
    {
        using (var outputPresentation = new Presentation())
        {
            foreach (var inputPresentationSlide in inputPresentation.Slides)
            {
                outputPresentation.Slides.AddClone(inputPresentationSlide);
            }

            outputPresentation.Save(path + "copy_problematic_slide.pptx", Aspose.Slides.Export.SaveFormat.Pptx);
        }
    }
}

copy_problematic_slide.zip (539.3 KB)

Thank you very much for the quick response.

It works with 18.8 but not in 18.4 which I’m using.