IPresentation

概述

IPresentation 是 Aspose.Slides FOSS 中用于 .NET 的类。继承自:IPresentationComponent。

表示一个演示文稿。

此类提供 9 个用于在 .NET 程序中处理 IPresentation 对象的方法。可用的方法包括:Save。在安装了 Aspose.Slides FOSS for .NET 包后,所有公共成员对任何 .NET 应用程序均可访问。属性:AsIPresentationComponent、CommentAuthors、CurrentDateTime、DocumentProperties、FirstSlideNumber、Images,以及另外 7 项。

属性

名称类型访问描述
PresentationIPresentation?读取获取演示文稿。
CurrentDateTimeDateTime读写获取或设置用于替换 datetime 字段内容的日期和时间。
SlidesISlideCollection读取获取演示文稿中定义的所有幻灯片的集合。
NotesSizeINotesSize读取获取此演示文稿的备注幻灯片大小对象。
LayoutSlidesIGlobalLayoutSlideCollection读取获取演示文稿中定义的所有布局幻灯片的集合。
MastersIMasterSlideCollection读取获取演示文稿中定义的所有母版幻灯片的集合。
SectionsISectionCollection读取获取演示文稿中所有章节的集合。
CommentAuthorsICommentAuthorCollection读取获取评论作者的集合。
DocumentPropertiesIDocumentProperties读取获取演示文稿的文档属性(元数据)。
ImagesIImageCollection读取获取演示文稿中嵌入的所有图像的集合。
SourceFormatSourceFormat读取获取演示文稿加载自的格式。
FirstSlideNumberint读写获取或设置演示文稿中的第一张幻灯片编号。
AsIPresentationComponentIPresentationComponent读取返回此实例作为一个 IPresentationComponent。

方法

签名描述
Save(fname: string, format: SaveFormat)将演示文稿保存为指定格式的文件。
Save(stream: Stream, format: SaveFormat)将演示文稿保存为指定格式的流。
Save(fname: string, format: SaveFormat, options: ISaveOptions)将演示文稿保存为指定格式和选项的文件。
Save(stream: Stream, format: SaveFormat, options: ISaveOptions)将演示文稿保存为指定格式和选项的流。
Save(fname: string, slides: int[], format: SaveFormat)将特定幻灯片保存为指定格式的文件。
Save(fname: string, slides: int[], format: SaveFormat, options: ISaveOptions)将特定幻灯片保存为具有指定格式和选项的文件。
Save(stream: Stream, slides: int[], format: SaveFormat)将特定幻灯片以指定格式保存到流中。
Save(stream: Stream, slides: int[], format: SaveFormat, options: ISaveOptions)将特定幻灯片以指定格式和选项保存到流中。
Save(options: ISaveOptions)使用指定的 options 对象保存演示文稿。

另请参阅

 中文