C++ 应用集成 WPS 指南 > 演示 API 参考 > Presentation > 方法 > Presentation.SaveAs 方法
保存未保存过的演示文稿,或以其他文件名保存已保存过的演示文稿。

语法

表达式 .SaveAs( Filename , FileFormat , EmbedFonts )

表达式 一个代表 Presentation 对象的变量。

参数

名称 必选/可选 数据类型 描述
Filename 必选 String 指定文件的保存名称。如果不指定完整路径,WPP会将该文件保存于当前文件夹中。
FileFormat 可选 PpSaveAsFileType 指定文件的保存格式。如果省略该参数,则文件将以WPP 当前版本中的演示文稿格式保存 ( ppSaveAsPresentation )。
EmbedFonts 可选 MsoTriState 指定WPP 是否将 TrueType 字体嵌入保存的演示文稿中。

说明

PpSaveAsFileType 可以是下列 PpSaveAsFileType 常量之一。
ppSaveAsHTMLv3
ppSaveAsAddIn
ppSaveAsBMP
ppSaveAsDefault
ppSaveAsGIF
ppSaveAsHTML
ppSaveAsHTMLDual
ppSaveAsJPG
ppSaveAsMetaFile
ppSaveAsPNG
ppSaveAsPowerPoint3
ppSaveAsPowerPoint4
ppSaveAsPowerPoint4FarEast
ppSaveAsPowerPoint7
ppSaveAsPresentation 默认值。
ppSaveAsRTF
ppSaveAsShow
ppSaveAsTemplate
ppSaveAsTIF
ppSaveAsWebArchive
MsoTriState 可以是下列 MsoTriState 常量之一。
msoCTrue
msoFalse
msoTriStateMixed 默认值。
msoTriStateToggle
msoTrue WPP 将 TrueType 字体嵌入到保存的演示文稿中。

Save As 方法 SaveAs 方法 另存为

 

请参阅