_Presentation.SaveAs Method

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)

Syntax

'Declaration
Sub SaveAs ( _
    FileName As String, _
    FileFormat As PpSaveAsFileType, _
    EmbedTrueTypeFonts As MsoTriState _
)
'Usage
Dim instance As _Presentation
Dim FileName As String
Dim FileFormat As PpSaveAsFileType
Dim EmbedTrueTypeFonts As MsoTriState

instance.SaveAs(FileName, FileFormat, _
    EmbedTrueTypeFonts)
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.

Remarks

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

ppSaveAsHTMLv3

ppSaveAsAddIn

ppSaveAsBMP

ppSaveAsDefault

ppSaveAsGIF

ppSaveAsHTML

ppSaveAsHTMLDual

ppSaveAsJPG

ppSaveAsMetaFile

ppSaveAsPNG

ppSaveAsPowerPoint3

ppSaveAsPowerPoint4

ppSaveAsPowerPoint4FarEast

ppSaveAsPowerPoint7

ppSaveAsPresentation

ppSaveAsRTF

ppSaveAsShow

ppSaveAsTemplate

ppSaveAsTIF

ppSaveAsWebArchive

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.

See Also

Reference

_Presentation Interface

_Presentation Members

Microsoft.Office.Interop.PowerPoint Namespace