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 PHP via Java 23.10

Download  Support Forum 

File Details

  • Downloads:
  • 1
  • File Size:
  • 26.71MB
  • Date Added:
  • 18/10/2023

Description

It contains Aspose.Slides for PHP via Java 23.10 release.

File Details

Improved TIFF Image Conversion

Effortlessly control black and white conversion algorithms for TIFF images with PowerPoint PHP API version 23.10 using the newly added TiffOptions.BwConversionMode property. This addition allows developers to specify the algorithm used when converting color images to black and white: TiffOptions.BwConversionMode or TiffCompressionTypes.CCITT3 compression. Please check out the following coding example to learn more about feature usage:

$tiffOptions = new TiffOptions();
$tiffOptions->setCompressionType(TiffCompressionTypes::CCITT4);
$tiffOptions->setBwConversionMode(BlackWhiteConversionMode::Dithering);

$presentation = new Presentation();
try {
    $presentation->save($tiffFilePath, SaveFormat::Tiff, $tiffOptions);
} finally {
    if ($presentation != null) $presentation->dispose();
}

Source*

InkTrace and InkBrush Classes Added

Aspose.Slides for PHP via Java now includes new classes for managing ink annotations in presentations. The InkTrace class represents a trace element containing sequential data points captured by a digitizer, while the InkBrush class defines the brush used for the trace. This code sample demonstrates the usage of the new classes:

$pres = new Presentation("pres.pptx");
try {
    $ink = $pres->getSlides()->get_Item(0)->getShapes()->get_Item(0);
    $traces = $ink->getTraces();
    $brush = $traces[0]->getBrush();
} finally {
    if ($pres != null) $pres->dispose();
}

Source*

Line Counting for Paragraphs

Now you can easily determine the number of lines in a paragraph with the new GetLinesCount method, which simplifies retrieving the number of lines within a paragraph element. The following code snippet showcases how to implement this method for line count:

$pres = new Presentation();
try {
    $sld = $pres->getSlides()->get_Item(0);
    $ashp = $sld->getShapes()->addAutoShape(ShapeType::Rectangle, 150, 75, 150, 50);
    $para = $ashp->getTextFrame()->getParagraphs()->get_Item(0);
    $portion = $para->getPortions()->get_Item(0);
    $portion->setText("Aspose Paragraph GetLinesCount() Example");
    echo "Lines Count = " . $para->getLinesCount();
} finally {
    if ($pres != null) $pres->dispose();
}

Source*

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

 English