Browse our Products

Aspose.Slides for .NET 22.10 Release Notes

KeySummaryCategoryRelated Documentation
SLIDESNET-43310Changing color of leader lines in Pie chartsFeature
SLIDESNET-35636Add the support of 3D shadow effectsFeature
SLIDESNET-35634Add the support of 3D bevel effectsFeature
SLIDESNET-43437Compress presentation - embedded fontsEnhancement
SLIDESNET-35907Set Transparent Effect for picture as filled shape in presentation fileEnhancement
SLIDESNET-43488PPTX initialization throws “Aspose.Slides.PptxReadException”Bug
SLIDESNET-43471WriteAsSvg generates smaller image than shape for text-only shapes.Bug
SLIDESNET-43447Circled numbers in a list are replaced with alphabets when converting PPTX to PDFBug
SLIDESNET-43432Loading a PPT file throws ArgumentOutOfRangeExceptionBug
SLIDESNET-43412NullReferenceException on SetExternalWorkbookBug
SLIDESNET-43409Number of images has changed after loading and saving PPS fileBug
SLIDESNET-43408Saving a presentation after cloning slide throws NegativeArraySizeExceptionBug
SLIDESNET-43394PDF produced by Aspose.Slides and edited by PDFBOX cannot be openedBug
SLIDESNET-43344Shapes.AddClone returns picture frames instead of chartsBug
SLIDESNET-43341ISlideCollection.AddFromPdf doesn?t add charts from PDF fileBug
SLIDESNET-43160Image is getting distorted while creating PDF out of PPTBug
SLIDESNET-43154Histogram and Waterfall charts are picture frames after cloningBug

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"))
    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);