##  detect_file_format(, تيار){#io.RawIOBase}
يكتشف ويعيد المعلومات حول تنسيق Excel المخزن في مجرى.


###  عائدات

كائن [`FileFormatInfo`](/cells/python-net/ar/aspose.cells/fileformatinfo) يحتوي على المعلومات المكتشفة.


```python

@staticmethod
def detect_file_format(stream):
    ...
```


| معامل| يكتب| وصف|
| :- | :- | :- |
| stream | io.RawIOBase |  |


##  detect_file_format(, مسار الملف){#str}
يكتشف ويعيد المعلومات حول تنسيق ملف Excel المخزن في ملف.


###  عائدات

كائن [`FileFormatInfo`](/cells/python-net/ar/aspose.cells/fileformatinfo) يحتوي على المعلومات المكتشفة.


```python

@staticmethod
def detect_file_format(file_path):
    ...
```


| معامل| يكتب| وصف|
| :- | :- | :- |
| file_path | str | مسار الملف.|


##  detect_file_format(, تيار, كلمة المرور){#io.RawIOBase-str}
يكتشف ويعيد المعلومات حول تنسيق Excel المخزن في مجرى.


###  عائدات

كائن [`FileFormatInfo`](/cells/python-net/ar/aspose.cells/fileformatinfo) يحتوي على المعلومات المكتشفة.


```python

@staticmethod
def detect_file_format(stream, password):
    ...
```


| معامل| يكتب| وصف|
| :- | :- | :- |
| stream | io.RawIOBase |  |
| password | str | كلمة المرور لملفات ooxml المشفرة.|


##  detect_file_format(، مسار الملف، كلمة المرور){#str-str}
يكتشف ويعيد المعلومات حول تنسيق ملف Excel المخزن في ملف.


###  عائدات

كائن [`FileFormatInfo`](/cells/python-net/ar/aspose.cells/fileformatinfo) يحتوي على المعلومات المكتشفة.


```python

@staticmethod
def detect_file_format(file_path, password):
    ...
```


| معامل| يكتب| وصف|
| :- | :- | :- |
| file_path | str | مسار الملف.|
| password | str | كلمة المرور لملفات ooxml المشفرة.|



###  أنظر أيضا
* الوحدة [`aspose.cells`](../../)
* فئة [`FileFormatInfo`](/cells/python-net/ar/aspose.cells/fileformatinfo)
* فئة [`FileFormatUtil`](/cells/python-net/ar/aspose.cells/fileformatutil)
