Browse our Products

Aspose.Slides for C++ 23.6 Release Notes

Supported Platforms

  • Aspose.Slides for C++ for Windows x64/x86 (Microsoft Visual Studio 2017 or later).
  • Aspose.Slides for C++ for Linux (Clang 3.9 or later, GCC 6.1 or later, glibc 2.23 or later).
  • Aspose.Slides for C++ for macOS (Xcode 13.4 or later).

New Features and Enhancements

KeySummaryCategoryRelated Documentation
SLIDESNET-43870Quality of images is low when converting a presentation to PDFEnhancementhttps://docs.aspose.com/slides/net/convert-powerpoint-to-pdf/
SLIDESNET-43807Loading corrupted presentation throws PptUnsupportedFormatExceptionEnhancementhttps://docs.aspose.com/slides/net/open-presentation/
SLIDESNET-43700Setting a default language for an entire PowerPoint documentFeaturehttps://docs.aspose.com/slides/net/presentation-localization/

Other Improvements and Changes

KeySummaryCategoryRelated Documentation
SLIDESCPP-3614Use Aspose.Slides for .NET 23.6 featuresEnhancementhttps://docs.aspose.com/slides/net/aspose-slides-for-net-23-6-release-notes/

Public API Changes

ILoadOptions::get_DefaultTextLanguage() and ILoadOptions::set_DefaultTextLanguage() methods have been added

The ILoadOptions::get_DefaultTextLanguage() and ILoadOptions::set_DefaultTextLanguage() methods have been added to specify the default language for presentation text.

The example below demonstrates using load options to define the default text culture:

System::SharedPtr<LoadOptions> loadOptions = System::MakeObject<LoadOptions>();
loadOptions->set_DefaultTextLanguage(u"en-US");

System::SharedPtr<Presentation> pres = System::MakeObject<Presentation>(loadOptions);

// Add new rectangle shape with text
System::SharedPtr<IAutoShape> shp = pres->get_Slide(0)->get_Shapes()->AddAutoShape(ShapeType::Rectangle, 50.0f, 50.0f, 150.0f, 50.0f);
shp->get_TextFrame()->set_Text(u"New Text");

// Check the first portion language
System::SharedPtr<IPortion> portion = shp->get_TextFrame()->get_Paragraph(0)->get_Portion(0);
System::Console::WriteLine(portion->get_PortionFormat()->get_LanguageId());