FormatDetector
General
FormatDetector és una classe en Aspose.3d per a Python.
FormatDetector.detect determina el format de fitxer del flux proporcionat, utilitzant el nom opcional del fitxatge i retorna un valor FileFormat.
Mètodes
| Signature | Description |
|---|---|
__init__() | |
detect(stream, file_name: str) → 'FileFormat' | Determines the file format of the provided stream, using the optional file name, and returns a FileFormat value |