本文将演示如何将PowerPoint文档转换为EMF图像。 使用Spire.Presentation for .NET,我们可以将演示幻灯片保存为与原始幻灯片相同大小的EMF图像,我们还可以为所得到的EMF图像设置特定大小。
将演示幻灯片转换为EMF,默认大小:
Step 1:创建演示文稿
Presentation presentation = new Presentation();
Step 2:从磁盘加载PPTX文件
presentation.LoadFromFile("Sample.p