国产PPT格式控件Spire.Presentation功能演示:转换 OpenDocument 演示文稿(.odp)到 PDF

该文将介绍如何使用Spire.Presentation for .NET将OpenDocument 演示文稿(.odp)另存为PDF格式。

Spire.Presentation for .NET 是专业的 PowerPoint组件,开发者可以在 .NET 平台上对 PPT文档进行生成、修改、转换和打印等操作,而无需安装 Microsoft PowerPoint。

该文将介绍如何使用Spire.Presentation for .NET将OpenDocument 演示文稿(.odp)另存为PDF格式。可点击此处下载最新版测试。

这么优秀的国产工具怎能错过呢!想要获取更多福利的朋友咨询在线客服哦~


C#

using Spire.Presentation;namespace odptoPDF{    class Program    {        static void Main(string[] args)        {            //加载示例文档            Presentation presentation = new Presentation();            presentation.LoadFromFile("Sample.odp",FileFormat.ODP);            presentation.SaveToFile("OdptoPDF.pdf",FileFormat.PDF);        }    }}

VB.NET

Imports Spire.PresentationNamespace odptoPDF     Class Program        Private Shared Sub Main(ByVal args() As String)            '加载示例文档            Dim presentation As Presentation = New Presentation            presentation.LoadFromFile("Sample.odp", FileFormat.ODP)            presentation.SaveToFile("OdptoPDF.pdf", FileFormat.PDF)        End Sub    End ClassEnd Namespace

效果图:

国产PPT格式控件Spire.Presentation功能演示:替换 PPT 中的视频、音频文件

还想要更多吗可以点击阅读【2020 · E-iceblue最新资源整合】查找需要的教程资源。是E-iceblue官方友好合作伙伴,如果您对spire.Presentation感兴趣,可以联系在线客服了解具体授权价格和使用机制。
标签:

声明:本站部分文章及图片源自用户投稿,如本站任何资料有侵权请您尽早请联系jinwei@zod.com.cn进行处理,非常感谢!

上一篇 2021年1月15日
下一篇 2021年1月16日

相关推荐

发表回复

登录后才能评论