Edit

Share via


FileConverter Interface

Definition

Represents a file converter that's used to open or save files.

public interface class FileConverter
[System.Runtime.InteropServices.Guid("00020999-0000-0000-C000-000000000046")]
public interface FileConverter
type FileConverter = interface
Public Interface FileConverter
Attributes

Remarks

The FileConverter object is a member of the FileConverters collection. The FileConverters collection contains all the installed file converters for opening and saving files.

Use FileConverters(index), where index is a class name or index number, to return a single FileConverter object.

The index number represents the position of the file converter in the FileConverters collection.

You cannot create a new file converter or add one to the FileConverters collection. FileConverter objects are added during installation of Microsoft Office or by installing supplemental file converters. Use either the CanSave or CanOpen property to determine whether a FileConverter object can be used to open or save document.

File converters for saving documents are listed in the Save As dialog box. File converters for opening documents appear in a dialog box if the Confirm conversion at Open check box is selected on the General tab in the Options dialog box (Tools menu).

Properties

Application

Returns a Application object that represents the Microsoft Word application.

CanOpen

Determines if the specified file converter is designed to open files.

CanSave

Determines if the specified file converter is designed to save files.

ClassName

Returns a unique name that identifies the file converter.

Creator

Returns a 32-bit integer that indicates the application in which the specified object was created.

Extensions

Returns the file name extensions associated with the specified FileConverter object.

FormatName

Returns the name of the specified file converter.

Name

Returns or sets the name of the specified object.

OpenFormat

Returns the file format of the specified file converter.

Parent

Returns an object that represents the parent object of the specified object.

Path

Returns the disk or Web path to the specified object.

SaveFormat

Returns the file format of the specified file converter.

Applies to