Partager via


FileConverter.ClassName Property (PowerPoint)

Returns a unique name that identifies the file converter. Read-only String.

Version Information

Version Added: PowerPoint 2007

Syntax

expression .ClassName

expression A variable that represents a FileConverter object.

Example

Note

Although the following code applies to Microsoft Word, you can readily modify it to apply to PowerPoint.

This example displays the class name and format name of the first converter in the FileConverters collection.

MsgBox "ClassName= " & FileConverters(1).ClassName & vbCr _

    & "FormatName= " & FileConverters(1).FormatName

If an HTML file converter is available, this example sets the HTML format as the default save format.

Dim fcLoop As FileConverter



For Each fcLoop In FileConverters

    If fcLoop.ClassName = "HTML" Then _

        Application.DefaultSaveFormat = "HTML"

Next fcLoop

See Also

Concepts

FileConverter Object

FileConverter Object Members