This topic has not yet been rated - Rate this topic

_Presentation.SaveAs Method

Office 2010

Saves a presentation that's never been saved, or saves a previously saved presentation under a different name.

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
void SaveAs(
	string FileName,
	PpSaveAsFileType FileFormat,
	MsoTriState EmbedTrueTypeFonts
)

Parameters

FileName
Type: System.String
Specifies the name to save the file under. If you don't include a full path, PowerPoint saves the file in the current folder.
FileFormat
Type: Microsoft.Office.Interop.PowerPoint.PpSaveAsFileType
Specifies the saved file format. If this argument is omitted, the file is saved in the default file format (ppSaveAsDefault).
EmbedTrueTypeFonts
Type: Microsoft.Office.Core.MsoTriState
Specifies whether PowerPoint embeds TrueType fonts in the saved presentation.

The FileFormat parameter value can be one of these PpSaveAsFileType constants. The default is ppSaveAsDefault.

The EmbedTrueTypeFonts parameter value can be one of these MsoTriState constants.

Constant

Description

msoFalse

TrueType fonts are not embedded.

msoTriStateMixed

Embedded fonts are a mixture of TrueType and non-TrueType. The default.

msoTrue

TrueType fonts are embedded.

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.