Browse our Products

If so you can download any of the below versions for testing. The product will function as normal except for an evaluation limitation. At the time of purchase we provide a license file via email that will allow the product to work in its full capacity. If you would also like an evaluation license to test without any restrictions for 30 days, please follow the directions provided here.

 

Aspose.Slides for Python via .NET 24.6 Win x64

Download  Support Forum 

File Details

  • Downloads:
  • 1
  • File Size:
  • 65.55MB
  • Date Added:
  • 21/6/2024

Description

Aspose.Slides for Python via .NET 24.6 (Windows x64) release.

File Details

Take your presentation manipulation Python applications to the next level on Win64-powered systems with Aspose.Slides for Python via .NET 24.6. This version empowers your applications with text highlighting and replacement features, refined text search options, and gradient rendering style.

Perform intricate text search operations with the ITextSearchOptions interface added to the latest PowerPoint processing API to allow control over whole-word matches. This code example illustrates how to use this feature.


import aspose.slides as slides

with slides.Presentation("pres.pptx") as presentation:
    text_search_options = slides.TextSearchOptions()
    text_search_options.whole_words_only = True

    presentation.replace_text("the", "***", text_search_options, None)
    presentation.save("pres-out.pptx", slides.export.SaveFormat.PPTX)

Source*

Effortless Text Highlighting

You can highlight specific text or regular expressions within presentations for emphasis using the new highlight_text and highlight_regex methods on Windows 64-bit. Please refer to the following code examples to learn more about the feature usage.

Highlight text in a text frame:


import aspose.slides as slides
import aspose.pydrawing as drawing

with slides.Presentation("pres.pptx") as presentation:
    # highlighting all words 'important'
    presentation.slides[0].shapes[0].text_frame.highlight_text("important", drawing.Color.light_blue)

    text_search_options = slides.TextSearchOptions()
    text_search_options.whole_words_only = True

    # highlighting all separate 'the' occurrences
    presentation.slides[0].shapes[0].text_frame.highlight_text("the", drawing.Color.violet, text_search_options, None)

    presentation.save("pres-out2.pptx", slides.export.SaveFormat.PPTX)

Source*

Highlight regex in a text frame:


import aspose.slides as slides
import aspose.pydrawing as drawing

with slides.Presentation("pres.pptx") as presentation:
    # highlighting all words with 10 or more characters
    presentation.slides[0].shapes[0].text_frame.highlight_regex(r"\b[^\s]{10,}\b", drawing.Color.blue)

    presentation.save("SomePresentation-out.pptx", slides.export.SaveFormat.PPTX)

Source*

Efficient Text Replacement

The newly introduced IPresentation.replace_text() and IPresentation.replace_regex() methods in this version of Aspose.Slides for Python via .NET allow you to replace text or regular expressions throughout the entire presentation. Check out the following code samples to learn how to add this functionality to your applications.

Replace text within a presentation.


import aspose.slides as slides

with slides.Presentation("SomePresentation.pptx") as presentation:
    text_search_options = slides.TextSearchOptions()
    text_search_options.whole_words_only = True

    presentation.replace_text("the", "***", text_search_options, None)
    presentation.save("SomePresentation-out2.pptx", slides.export.SaveFormat.PPTX)

Source*

Replace regex within a presentation.


import aspose.slides as slides

with slides.Presentation("SomePresentation.pptx") as presentation:
    # Replace all words with 10 or more characters with '***'
    presentation.replace_regex(r"\b[^\s]{10,}\b", "***")

    presentation.save("SomePresentation-out.pptx", slides.export.SaveFormat.PPTX)

Source*

Customizable Gradients

Leverage the new gradient_style property within ISaveOptions to tailor the visual appearance of two-color gradients in exported presentations on Win x64 systems. This code example showcases how to add this functionality to your Python applications.


import aspose.slides as slides

with slides.Presentation("pres.pptx") as pres:
    options = slides.export.RenderingOptions()
    options.gradient_style = slides.GradientStyle.POWER_POINT_UI
    img = pres.slides[0].get_image(options, 2, 2)

Source*

You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.Slides for Python via .NET 24.6 Release Notes.

 English