Aspose::Cells::FileFormatUtil::ExtensionToSaveFormat method
Contents
[
Hide
]FileFormatUtil::ExtensionToSaveFormat(const U16String&) method
Converts a file name extension into a SaveFormat value.
static SaveFormat Aspose::Cells::FileFormatUtil::ExtensionToSaveFormat(const U16String &extension)
Parameter | Type | Description |
---|---|---|
extension | const U16String& | The file extension. Can be with or without a leading dot. Case-insensitive. |
ReturnValue
Remarks
If the extension cannot be recognized, returns SaveFormat.Unknown.
See Also
- Enum SaveFormat
- Class Vector
- Class U16String
- Class FileFormatUtil
- Namespace Aspose::Cells
- Library Aspose.Cells for C++
FileFormatUtil::ExtensionToSaveFormat(const char16_t*) method
Converts a file name extension into a SaveFormat value.
static SaveFormat Aspose::Cells::FileFormatUtil::ExtensionToSaveFormat(const char16_t *extension)
Parameter | Type | Description |
---|---|---|
extension | const char16_t* | The file extension. Can be with or without a leading dot. Case-insensitive. |
ReturnValue
Remarks
If the extension cannot be recognized, returns SaveFormat.Unknown.
See Also
- Enum SaveFormat
- Class Vector
- Class FileFormatUtil
- Namespace Aspose::Cells
- Library Aspose.Cells for C++