FileFormatUtil Methods

The FileFormatUtil type exposes the following members.

ExpandedMethods

  NameDescription
Public methodStatic memberCode exampleContentTypeToLoadFormat
Converts IANA content type into a load format enumerated value.
Public methodStatic memberCode exampleContentTypeToSaveFormat
Converts IANA content type into a save format enumerated value.
Public methodStatic memberCode exampleDetectFileFormat(Stream)
Detects and returns the information about a format of a document stored in a stream.
Public methodStatic memberCode exampleDetectFileFormat(String)
Detects and returns the information about a format of a document stored in a disk file.
Public methodStatic memberCode exampleExtensionToSaveFormat
Converts a file name extension into a SaveFormat value.
Public methodStatic memberCode exampleImageTypeToExtension
Converts an Aspose.Words image type enumerated value into a file extension. The returned extension is a lower-case string with a leading dot.
Public methodStatic memberCode exampleLoadFormatToExtension
Converts a load format enumerated value into a file extension. The returned extension is a lower-case string with a leading dot.
Public methodStatic memberCode exampleLoadFormatToSaveFormat
Converts a LoadFormat value to a SaveFormat value if possible.
Public methodStatic memberCode exampleSaveFormatToExtension
Converts a save format enumerated value into a file extension. The returned extension is a lower-case string with a leading dot.
Public methodStatic memberCode exampleSaveFormatToLoadFormat
Converts a SaveFormat value to a LoadFormat value if possible.

ExpandedSee Also