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 C++ 24.8 Linux

Download  Support Forum 

File Details

  • Downloads:
  • 1
  • File Size:
  • 89.07MB
  • Date Added:
  • 21/8/2024

Description

It contains Aspose.Slides for C++ 24.8 Linux release.

File Details

We are pleased to announce the latest release of Aspose.Slides for C++ (v24.8). This version provides new features and enhancements, including upgraded tiled fills and font manipulation to empower your Linux-based Python presentation applications.

Use Tiled Fills for Pictures

The latest C++ PowerPoint API release supercharges the aesthetics of your presentations with the ability to apply picture fills for shapes and backgrounds.

Code sample showing how to add a rectangle shape with a tiled picture fill.


System::SharedPtr<Presentation> pres = System::MakeObject<Presentation>();
System::SharedPtr<ISlide> firstSlide = pres->get_Slide(0);

System::SharedPtr<IImage> newImage = Images::FromFile(u"image.png");
System::SharedPtr<IPPImage> ppImage = pres->get_Images()->AddImage(newImage);

// Adds the new Rectangle shape
auto newShape = firstSlide->get_Shapes()->AddAutoShape(ShapeType::Rectangle, 0.0f, 0.0f, 350.0f, 350.0f);

// Sets the fill type of the new shape to Picture
newShape->get_FillFormat()->set_FillType(FillType::Picture);

// Sets the shape's fill image
System::SharedPtr<IPictureFillFormat> pictureFillFormat = newShape->get_FillFormat()->get_PictureFillFormat();
pictureFillFormat->get_Picture()->set_Image(ppImage);

// Sets the picture fill mode to Tile and changes the properties
pictureFillFormat->set_PictureFillMode(PictureFillMode::Tile);
pictureFillFormat->set_TileOffsetX(-275.0f);
pictureFillFormat->set_TileOffsetY(-247.0f);
pictureFillFormat->set_TileScaleX(25.0f);
pictureFillFormat->set_TileScaleY(15.0f);
pictureFillFormat->set_TileAlignment(RectangleAlignment::BottomRight);
pictureFillFormat->set_TileFlip(TileFlip::FlipBoth);

pres->Save(u"Tile.pptx", SaveFormat::Pptx);

Source*

Enriched Font Management

We delegate more control over fonts to the Linux developers in this release, allowing them to fetch font data as byte arrays and determine embedding levels. It also supports recognizing any restricted fonts within your PowerPoint processing applications.

Sample code for retrieving font data:


System::SharedPtr<Presentation> pres = System::MakeObject<Presentation>(u"Presentation.pptx");

System::ArrayPtr<System::SharedPtr<IFontData>> fonts = pres->get_FontsManager()->GetFonts();
System::ArrayPtr<uint8_t> bytes = pres->get_FontsManager()->GetFontBytes(fonts[0], System::Drawing::FontStyle::Regular);

Source*

Sample code to retrieve the font embedding level:


System::SharedPtr<Presentation> pres = System::MakeObject<Presentation>(u"Presentation.pptx");

System::ArrayPtr<System::SharedPtr<IFontData>> fontDatas = pres->get_FontsManager()->GetFonts();
System::ArrayPtr<uint8_t> bytes = pres->get_FontsManager()->GetFontBytes(fontDatas[0], System::Drawing::FontStyle::Regular);
EmbeddingLevel embeddingLevel = pres->get_FontsManager()->GetFontEmbeddingLevel(bytes, fontDatas[0]->get_FontName());

Source*

Export to MathML on Linux

Aspose.Slides for C++ 24.8 ascertains fidelity of color and font size while saving presentations as MathML documents.

Access Summary Zoom in PDF Documents

Seamlessly utilize the Summary Zoom functionality in saved PDFs for a refined viewing experience on Linux-powered machines.

Learn to Display Comments in HTML5

You can equip your users with excellent collaboration features by showing comments in the generated HTML5 presentations with the Python library.

You can view the list of all new features, enhancements, and bug fixes introduced in this release by visiting Aspose.Slides for C++ 24.8 Release Notes.

 English