Managing the Hyperlinks in Presentation in PHP
Contents
[
Hide
]
Aspose.Slides - Removing Hyperlinks inside Presentation
To Remove Hyperlinks inside Presentation using Aspose.Slides Java for PHP, simply invoke Hyperlinks module. Here you can see example code.
PHPCode
# Instantiate Presentation class that represents the presentation file
$pres = new Presentation($dataDir . 'demo.pptx');
\# Removing the hyperlinks from presentation
$pres->getHyperlinkQueries()->removeAllHyperlinks();
\# Saving the presentation
$save_format = new SaveFormat();
$pres->save($dataDir . "Hyperlinks.pptx", $save_format->Pptx);
print "Removed hyperlinks successfully, please check the output file." . PHP_EOL;
Download Running Code
Download Managing the Hyperlinks in Presentation (Aspose.Slides) from any of the below mentioned social coding sites: