Browse our Products

Aspose.Slides for Python via .NET 25.12 Release Notes

New Features and Enhancements

KeySummaryCategoryRelated Documentation
SLIDESNET-45190Populating data tags with data from another fileFeature
SLIDESNET-44993Image is slightly shifted when converting a slide to an imageEnhancementhttps://docs.aspose.com/slides/net/convert-slide/
SLIDESNET-45194JoinPortionsWithSameFormatting carries over the “err” flag from the first text runEnhancement
SLIDESNET-45176Managing Guides on masters and slide layoutsFeature

Other Improvements and Changes

KeySummaryCategoryRelated Documentation
SLIDESPYNET-322Use Aspose.Slides for Net 25.12 featuresEnhancementhttps://releases.aspose.com/slides/net/release-notes/2025/aspose-slides-for-net-25-12-release-notes/

Public API Changes

Added New Property: IBasePortionFormat.spell_check

The new property, spell_check, has been added to the IBasePortionFormat interface and implemented in the corresponding text formatting classes. This enhancement allows developers to enable or disable spell checking for individual text portions within a presentation.

Usage examples

The following code sample demonstrates how to use this property:

import aspose.slides as slides

with slides.Presentation("input.pptx") as pres:
    # Access the first portion of text inside the first shape on the first slide
    portion = pres.slides[0].shapes[0].text_frame.paragraphs[0].portions[0]
    # Enable spell checking for this text portion
    portion.portion_format.spell_check = True
	# Save the modified presentation
	pres.save("output-with-spellcheck.pptx", slides.export.SaveFormat.PPTX)

Added New Property: drawing_guides

The new drawing_guides property has been added to the following interfaces and classes:

This property returns a collection of adjustable drawing guides for the slide.

Usage examples

The following code snippet shows how to add the new vertical drawing guide to the first master slide:

import aspose.slides as slides

with slides.Presentation() as pres:
    slide_size = pres.slide_size.size
    guides = pres.masters[0].drawing_guides
	# Adding the new vertical drawing guide to the right of the slide center
    guides.add(slides.Orientation.VERTICAL, slide_size.width / 2 + 20)
    pres.save("MasterSlideDrawingGuides_out.pptx", slides.export.SaveFormat.PPTX)

This code snippet demonstrates how to print the drawing guides of the first master slide:

import aspose.slides as slides

with slides.Presentation("MasterSlideDrawingGuides_out.pptx") as pres:
	guides = pres.masters[0].drawing_guides
	print("\n".join([f"{g.orientation} {g.position} {g.color.name}" for g in guides]))

Added New Property: IDrawingGuide.color

The color property has been added to the IDrawingGuide interface and implemented in the DrawingGuide class. It allows developers to customize the color of drawing guides.

Usage examples

The following code snippet shows how to change the color of the first drawing guide of the master slide:

import aspose.slides as slides
import aspose.pydrawing as draw

with slides.Presentation("MasterSlideDrawingGuides_out.pptx") as pres:
	guides = pres.masters[0].drawing_guides
	guides[0].color = draw.Color.forest_green
	pres.save("MasterSlideDrawingGuides_ForestGreen.pptx", slides.export.SaveFormat.PPTX)

Added New Methods: lowcode.Convert.to_jpeg(), to_png() and to_tiff()

New convenience methods to_jpeg(), to_png(), and to_tiff() have been added to the lowcode.Convert class. These methods simplify converting presentations into sets of raster images.

Usage examples

The following code snippet shows how to convert the input presentation to a set of JPEG images:

import aspose.slides as slides

with slides.Presentation("pres.pptx") as pres:
    slides.lowcode.Convert.to_jpeg(pres, "presImage.jpeg")

This code snippet demonstrates how to convert the input presentation to a set of JPEG images of a given size:

import aspose.slides as slides
import aspose.pydrawing as draw

with slides.Presentation("pres.pptx") as pres:
    slides.lowcode.Convert.to_jpeg(pres, "presImage.jpeg", draw.Size(720, 540))

This code snippet shows how to convert the input presentation to a set of PNG images in the Notes mode:

import aspose.slides as slides

options = slides.export.RenderingOptions()
options.slides_layout_options = slides.export.NotesCommentsLayoutingOptions()
options.slides_layout_options.notes_position = slides.export.NotesPositions.BOTTOM_TRUNCATED

with slides.Presentation("pres.pptx") as pres:
    slides.lowcode.Convert.to_png(pres, "pres.png", 2, options)

The following code shows how to convert the input presentation to a set of TIFF images:

import aspose.slides as slides

with slides.Presentation("pres.pptx") as pres:
    slides.lowcode.Convert.to_tiff(pres, "presImage.tiff")

This code snippet shows how to convert the input presentation to a set of the compressed TIFF images in the Notes mode:

import aspose.slides as slides

options = slides.export.TiffOptions()
options.compression_type = slides.export.TiffCompressionTypes.CCITT3
options.slides_layout_options = slides.export.NotesCommentsLayoutingOptions()
options.slides_layout_options.notes_position = slides.export.NotesPositions.BOTTOM_TRUNCATED

with slides.Presentation("pres.pptx") as pres:
    slides.lowcode.Convert.to_tiff(pres, "pres.tiff", options, False)

Added New Class: lowcode.Merger

The new lowcode.Merger class provides API methods for merging multiple presentations of the same format into a single output file.

API Overview

Following methods for merging PowerPoint presentations of same format into one file are present in lowcode.Merger class:

Usage examples

The following code snippet shows how to merge the set of input presentations of the same format into a single presentation file:

import aspose.slides as slides

slides.lowcode.Merger.process(["pres1.ppt", "pres2.ppt"], "merged.ppt")

This code snippet demonstrates how to merge the set of input presentations into the PPTX presentation without generation of the new thumbnail:

import aspose.slides as slides

options = slides.export.PptxOptions()
options.refresh_thumbnail = False
slides.lowcode.Merger.process(["pres1.pptx", "pres2.pptx"], "merged.pptx", options)

The following code snippet shows how to merge the set of input presentations of the same format and save to the memory stream:

import aspose.slides as slides
import io

with io.BytesIO() as ms:
    slides.lowcode.Merger.process(["pres1.pptx", "pres2.pptx"], ms)