Browse our Products

Aspose.Slides for .NET 22.10 Release Notes

KeySummaryCategoryRelated Documentation
SLIDESNET-43310Changing color of leader lines in Pie chartsFeaturehttps://docs.aspose.com/slides/net/powerpoint-charts/
SLIDESNET-35636Add the support of 3D shadow effectsFeaturehttps://docs.aspose.com/slides/net/3d-presentation/
SLIDESNET-35634Add the support of 3D bevel effectsFeaturehttps://docs.aspose.com/slides/net/3d-presentation/
SLIDESNET-43437Compress presentation - embedded fontsEnhancement
SLIDESNET-35907Set Transparent Effect for picture as filled shape in presentation fileEnhancementhttps://docs.aspose.com/slides/net/manage-placeholder/#set-placeholder-image-transparency
SLIDESNET-43488PPTX initialization throws “Aspose.Slides.PptxReadException”Bughttps://docs.aspose.com/slides/net/open-presentation/#open-presentation
SLIDESNET-43471WriteAsSvg generates smaller image than shape for text-only shapes.Bughttps://docs.aspose.com/slides/net/render-a-slide-as-an-svg-image/
SLIDESNET-43447Circled numbers in a list are replaced with alphabets when converting PPTX to PDFBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-43432Loading a PPT file throws ArgumentOutOfRangeExceptionBughttps://docs.aspose.com/slides/net/open-presentation/
SLIDESNET-43412NullReferenceException on SetExternalWorkbookBughttps://docs.aspose.com/slides/net/chart-workbook/
SLIDESNET-43409Number of images has changed after loading and saving PPS fileBughttps://docs.aspose.com/slides/net/image/
SLIDESNET-43408Saving a presentation after cloning slide throws NegativeArraySizeExceptionBughttps://docs.aspose.com/slides/net/clone-slides/
SLIDESNET-43394PDF produced by Aspose.Slides and edited by PDFBOX cannot be openedBughttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-43344Shapes.AddClone returns picture frames instead of chartsBughttps://docs.aspose.com/slides/net/powerpoint-charts/
SLIDESNET-43341ISlideCollection.AddFromPdf doesn?t add charts from PDF fileBughttps://docs.aspose.com/slides/net/import-presentation/
SLIDESNET-43160Image is getting distorted while creating PDF out of PPTBughttps://docs.aspose.com/slides/net/create-chart/
SLIDESNET-43154Histogram and Waterfall charts are picture frames after cloningBughttps://docs.aspose.com/slides/net/powerpoint-charts/

Public API Changes

ISVGOptions.UseFrameSize and ISVGOptions.UseFrameRotation have been added

New properties UseFrameSize and UseFrameRotation have been added to the ISVGOptions interface and SVGOptions class.

The UseFrameSize property allows determines whether the text frame will be included in a rendering area.

Property declaration:

/// <summary>
/// Determines whether the text frame will be included in a rendering area or not.
/// Read/write <see cref="bool"/>.
/// Default value is false.
/// </summary>
bool UseFrameSize { get; set; }

The UseFrameRotation property allows determines whether to perform the specified rotation of the shape when rendering.

Property declaration:

/// <summary>
/// Determines whether to perform the specified rotation of the shape when rendering or not.
/// Read/write <see cref="bool"/>.
/// Default value is true.
/// </summary>
bool UseFrameRotation { get; set; }

The code snippet below demonstrates using these properties:

using (Presentation pres = new Presentation("pres.pptx"))
{
    SVGOptions svgOptions = new SVGOptions();

    // Does not perform the specified rotation of the shape while rendering to SVG.
    svgOptions.UseFrameRotation = false;

    // Include the text frame in a rendering area while rendering to SVG.
    svgOptions.UseFrameSize = true;

    // Save shape to SVG
    using (FileStream stream = new FileStream("pres-out.svg", FileMode.Create))
    {
        pres.Slides[0].Shapes[1].WriteAsSvg(stream, svgOptions);
    }
}

Embedded fonts compress feature added

Embedded fonts can be compressed to decrease the size of the presentation that contains such fonts. To provide this functionality, the CompressEmbeddedFonts method was added to LowCode API.

Below is the snippet demonstrating compression:

using (Presentation pres = new Presentation("pres.pptx"))
{
    Aspose.Slides.LowCode.Compress.CompressEmbeddedFonts(pres);
    pres.Save("pres-out.pptx", SaveFormat.Pptx);
}

LeaderLinesColor porperty has been added

The LeaderLinesColor property has been addded, now the color of all leader lines in the collection can be managed via this property:

using (Presentation pres = new Presentation("pres.pptx"))
{
    IChart chart = (IChart) pres.Slides[0].Shapes[0];
    IChartSeriesCollection series = chart.ChartData.Series;
    IDataLabelCollection labels = series[0].Labels;
    
    labels.LeaderLinesColor = Color.FromArgb(255, 255, 0, 0);
}