_Presentation.SaveCopyAs Method
Saves a copy of the specified presentation to a file without modifying the original.
Namespace: Microsoft.Office.Interop.PowerPoint
Assembly: Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)
Syntax
'Declaration
Sub SaveCopyAs ( _
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.SaveCopyAs(FileName, FileFormat, _
EmbedTrueTypeFonts)
void SaveCopyAs(
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
The file format.
- EmbedTrueTypeFonts
Type: Microsoft.Office.Core.MsoTriState
Specifies whether TrueType fonts are embedded.
Remarks
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 |
---|---|
TrueType fonts are not embedded. |
|
Embedded fonts are a mixture of TrueType and non-TrueType. The default. |
|
TrueType fonts are embedded. |