FileFormatUtil class

FileFormatUtil class

Provides utility methods for converting file format enums to strings or file extensions and back.

The FileFormatUtil type exposes the following members:

Methods

MethodDescription
detect_file_formatDetects and returns the information about a format of an excel stored in a stream.
detect_file_formatDetects and returns the information about a format of an excel stored in a stream.
detect_file_formatDetects and returns the information about a format of an excel stored in a file.
detect_file_formatDetects and returns the information about a format of an excel stored in a file.
verify_passwordDetects and returns the information about a format of an excel stored in a stream.
file_format_to_save_formatConverting file format to save format.
extension_to_save_formatConverts a file name extension into a SaveFormat value.
is_template_formatReturns true if the extension is .xlt, .xltX, .xltm,.ots.
load_format_to_extensionConverts a load format enumerated value into a file extension.
load_format_to_save_formatConverts a LoadFormat value to a SaveFormat value if possible.
save_format_to_extensionConverts a save format enumerated value into a file extension.
save_format_to_load_formatConverts a SaveFormat value to a LoadFormat value if possible.

See Also