content_type property

content_type property

Gets file format content type

Example

from aspose.threed import FileContentType, FileFormat

format = FileFormat.MAYA_BINARY
if format.content_type == FileContentType.BINARY:
    print(f"{format} is binary format")
else:
    print(f"{format} is text-based format")

Definition:

@property
def content_type(self):
    ...

See Also