Presentation

Presentation

概述

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

表示 Microsoft PowerPoint 演示文稿。

此类提供 3 个方法,用于在 Python 程序中处理 Presentation 对象。可用方法包括:__init__、dispose、save。在安装了 Aspose.Slides FOSS for Python 包后,所有公共成员对任何 Python 应用程序均可访问。属性:as_i_presentation_component、comment_authors、current_date_time、document_properties、first_slide_number、images,以及另外 7 项。

属性

名称类型访问描述
current_date_timeAny读写返回或设置日期和时间,以替代 datetime 字段的内容。
slidesISlideCollection读取返回在演示文稿中定义的所有幻灯片的列表。
notes_sizeINotesSize读取返回备注幻灯片尺寸对象。
layout_slidesIGlobalLayoutSlideCollection读取返回演示文稿中定义的所有布局幻灯片的列表。
mastersIMasterSlideCollection读取返回演示文稿中定义的所有母版幻灯片的列表。
comment_authorsICommentAuthorCollection读取返回评论作者的集合。
document_propertiesIDocumentProperties读取返回包含标准和自定义文档属性的 DocumentProperties 对象。
imagesIImageCollection读取返回演示文稿中所有图像的集合。
master_themeIMasterTheme读取返回演示文稿的主主题。
first_slide_numberint读写表示演示文稿中的第一张幻灯片的编号。
source_formatSourceFormat读取返回有关演示文稿是从哪种格式加载的信息。
as_i_presentation_componentIPresentationComponent读取获取 as i 演示组件。
presentationIPresentation读取获取演示文稿。

方法

签名描述
__init__()初始化演示文稿。
save()将演示文稿保存到文件或流。
dispose()释放此 Presentation 对象使用的所有资源。

另请参阅

 中文