ToSvg
内容
[
隐藏
]ToSvg(string)
将Presentation
转换为SVG。
public static void ToSvg(string presPath)
参数 | 类型 | 描述 |
---|---|---|
presPath | String | 输入演示文稿的路径 |
示例
Convert.ToSvg("pres.pptx");
另请参阅
- class Convert
- namespace Aspose.Slides.LowCode
- assembly Aspose.Slides
ToSvg(string, GetOutPathCallback)
将Presentation
转换为SVG。
public static void ToSvg(string presPath, GetOutPathCallback getOutPath)
参数 | 类型 | 描述 |
---|---|---|
presPath | String | 输入演示文稿的路径 |
getOutPath | GetOutPathCallback | 为演示文稿中的每个幻灯片返回SVG输出路径的回调 |
示例
Convert.ToSvg("pres.pptx", (slide, index) => $"pres_{index}-out.svg");
另请参阅
- delegate GetOutPathCallback
- class Convert
- namespace Aspose.Slides.LowCode
- assembly Aspose.Slides
ToSvg(Presentation, GetOutPathCallback)
将Presentation
转换为SVG。
public static void ToSvg(Presentation pres, GetOutPathCallback getOutPath)
参数 | 类型 | 描述 |
---|---|---|
pres | Presentation | 输入演示文稿 |
getOutPath | GetOutPathCallback | 为演示文稿中的每个幻灯片返回SVG输出路径的回调 |
示例
using (Presentation pres = new Presentation("input.pptx"))
{
Convert.ToSvg(pres, (slide, index) => $"pres_{index}-out.svg");
}
另请参阅
- class Presentation
- delegate GetOutPathCallback
- class Convert
- namespace Aspose.Slides.LowCode
- assembly Aspose.Slides
ToSvg(Presentation, ISVGOptions)
将Presentation
转换为SVG。
public static void ToSvg(Presentation pres, ISVGOptions options)
参数 | 类型 | 描述 |
---|---|---|
pres | Presentation | 输入演示文稿 |
options | ISVGOptions | SVG导出选项 |
示例
using (Presentation pres = new Presentation("input.pptx"))
{
Convert.ToSvg(pres, new SVGOptions { VectorizeText = true });
}
另请参阅
- class Presentation
- interface ISVGOptions
- class Convert
- namespace Aspose.Slides.LowCode
- assembly Aspose.Slides
ToSvg(Presentation, GetOutPathCallback, ISVGOptions)
将Presentation
转换为SVG。
public static void ToSvg(Presentation pres, GetOutPathCallback getOutPath, ISVGOptions options)
参数 | 类型 | 描述 |
---|---|---|
pres | Presentation | 输入演示文稿 |
getOutPath | GetOutPathCallback | 为演示文稿中的每个幻灯片返回SVG输出路径的回调 |
options | ISVGOptions | SVG导出选项 |
示例
using (Presentation pres = new Presentation("input.pptx"))
{
Convert.ToSvg(pres, (slide, index) => $"pres_{index}-out.svg", new SVGOptions { VectorizeText = true });
}
另请参阅
- class Presentation
- delegate GetOutPathCallback
- interface ISVGOptions
- class Convert
- namespace Aspose.Slides.LowCode
- assembly Aspose.Slides