在 C++ 中轉換 OpenDocument 簡報
Contents
[
Hide
]
Aspose.Slides API 允許您將 OpenDocument (ODP) 簡報轉換為多種格式 (HTML、PDF、TIFF、SWF、XPS 等)。用於將 ODP 檔案轉換為其他文件格式的 API 與用於 PowerPoint (PPT 和 PPTX) 轉換操作的 API 相同。
例如,若您需要將 ODP 簡報轉換為 PDF,您可以按以下方式操作:
auto pres = MakeObject<Presentation>(u"pres.odp");
pres->Save(u"pres.pdf", SaveFormat::Pdf);
pres->Dispose();