Managing the Hyperlinks in Presentation in Python

To Manage the Hyperlinks in Presentation using Aspose.Slides Java for Python. Here you can see example code.

Python Code


 # Instantiate Presentation class that represents the presentation file

pres = self.Presentation

pres = pres(self.dataDir + 'Aspose.pptx')

\# Removing the hyperlinks from presentation

pres.getHyperlinkQueries().removeAllHyperlinks()

\# Saving the presentation

save_format = self.SaveFormat

pres.save(self.dataDir + "Hyperlinks.pptx", save_format.Pptx)

print "Removed hyperlinks successfully, please check the output file."

Download Running Code

Download Managing the Hyperlinks in Presentation (Aspose.Slides) from any of the below mentioned social coding sites: