Browse our Products

Aspose.Slides for Python via .NET 24.11 Release Notes

New Features and Enhancements

KeySummaryCategoryRelated Documentation
SLIDESNET-44289Adding a space between words on a carriage return when extracting unarranged textEnhancement
SLIDESNET-44647Managing Grid and Guides propertiesFeaturehttps://docs.aspose.com/slides/net/presentation-view-properties/
SLIDESNET-44532Repair message appears after adding BoxAndWhisker chart to presentationInvestigation
SLIDESNET-44707Behavior of the AddTextFrame method and the IsTextBox propertyInvestigation
SLIDESNET-44667Text “[CELLRANGE]” is incorrectly displayed for chart with embedded data when converting PPTX to JPEG/PPFEnhancementhttps://docs.aspose.com/slides/net/convert-powerpoint/

Other Improvements and Changes

KeySummaryCategoryRelated Documentation
SLIDESPYNET-185Use Aspose.Slides for Net 24.11 featuresEnhancementhttps://releases.aspose.com/slides/net/release-notes/2024/aspose-slides-for-net-24-11-release-notes/

Public API Changes

Support for the Grid and Guides properties

A new property grid_spacing has been added to the IViewProperties interface and the ViewProperties class.

A new class DrawingGuide and its corresponding interface IDrawingGuide have been added. These class and interface are used to define the settings for drawing guides.

A new class DrawingGuidesCollection and its corresponding interface IDrawingGuidesCollection have been added to store adjustable drawing guides.

A new property drawing_guides has been added to the ICommonSlideViewProperties interface and the CommonSlideViewProperties class.

The Grid and Guides properties allow you to configure the spacing between grid lines in the background of your document. The following code sample shows how to set the grid spacing to 72 points (1 inch) and save the PowerPoint presentation.

import aspose.slides as slides

with slides.Presentation() as pres:
    pres.view_properties.grid_spacing = 72
    pres.save("GridSpacing-out.pptx", slides.export.SaveFormat.PPTX)

Also you can add or change adjustable drawing guides. The following code sample shows how to add the new vertical and horizontal drawing guides to a PowerPoint presentation:

import aspose.slides as slides

with slides.Presentation() as pres:
    slide_size = pres.slide_size.size
    guides = pres.view_properties.slide_view_properties.drawing_guides
    # Adding the new vertical drawing guide to the right of the slide center
    guides.add(slides.Orientation.VERTICAL, slide_size.width / 2 + 12.5)
    # Adding the new horizontal drawing guide below the slide center
    guides.add(slides.Orientation.HORIZONTAL, slide_size.height / 2 + 12.5)

    pres.save("DrawingGuides-out.pptx", slides.export.SaveFormat.PPTX)