Convert

Convert class

表示一组旨在转换 Presentation 的方法。

public static class Convert

方法

名称描述
static AutoByExtension(string, string)使用传递的输出路径扩展名来确定所需的导出格式,从而转换 Presentation
static ToPdf(Presentation, string)Presentation 转换为 PDF。
static ToPdf(string, string)Presentation 转换为 PDF。
static ToPdf(Presentation, string, IPdfOptions)Presentation 转换为 PDF。
static ToPdf(string, string, IPdfOptions)Presentation 转换为 PDF。
static ToSvg(string)Presentation 转换为 SVG。
static ToSvg(Presentation, GetOutPathCallback)Presentation 转换为 SVG。
static ToSvg(Presentation, ISVGOptions)Presentation 转换为 SVG。
static ToSvg(string, GetOutPathCallback)Presentation 转换为 SVG。
static ToSvg(Presentation, GetOutPathCallback, ISVGOptions)Presentation 转换为 SVG。

其他成员

名称描述
delegate GetOutPathCallback

示例

Convert.AutoByExtension("pres.pptx", "pres.pdf");

另请参阅