DetectFileFormat
Innehåll
[
Dölj
]DetectFileFormat(Stream)
Upptäcker och returnerar information om ett Excel-format som lagras i en ström.
public static FileFormatInfo DetectFileFormat(Stream stream)
| Parameter | Typ | Beskrivning |
|---|---|---|
| stream | Stream |
Returvärde
AFileFormatInfo objekt som innehåller den upptäckta informationen.
Se även
- class FileFormatInfo
- class FileFormatUtil
- namnutrymme Aspose.Cells
- hopsättning Aspose.Cells
DetectFileFormat(Stream, string)
Upptäcker och returnerar information om ett Excel-format som lagras i en ström.
public static FileFormatInfo DetectFileFormat(Stream stream, string password)
| Parameter | Typ | Beskrivning |
|---|---|---|
| stream | Stream | |
| password | String | Lösenordet för krypterade ooxml-filer. |
Returvärde
AFileFormatInfo objekt som innehåller den upptäckta informationen.
Se även
- class FileFormatInfo
- class FileFormatUtil
- namnutrymme Aspose.Cells
- hopsättning Aspose.Cells
DetectFileFormat(string)
Upptäcker och returnerar information om ett Excel-format som lagras i en fil.
public static FileFormatInfo DetectFileFormat(string filePath)
| Parameter | Typ | Beskrivning |
|---|---|---|
| filePath | String | Filsökvägen. |
Returvärde
AFileFormatInfo objekt som innehåller den upptäckta informationen.
Se även
- class FileFormatInfo
- class FileFormatUtil
- namnutrymme Aspose.Cells
- hopsättning Aspose.Cells
DetectFileFormat(string, string)
Upptäcker och returnerar information om ett Excel-format som lagras i en fil.
public static FileFormatInfo DetectFileFormat(string filePath, string password)
| Parameter | Typ | Beskrivning |
|---|---|---|
| filePath | String | Filsökvägen. |
| password | String | Lösenordet för krypterade ooxml-filer. |
Returvärde
AFileFormatInfo objekt som innehåller den upptäckta informationen.
Se även
- class FileFormatInfo
- class FileFormatUtil
- namnutrymme Aspose.Cells
- hopsättning Aspose.Cells