FileFormat

개요

FileFormat은 Aspose.3D FOSS에서 TypeScript용 클래스입니다.

FileFormat 객체는 확장자, 지원 버전, 그리고 포맷을 가져오거나 내보낼 수 있는지 여부와 같은 메타데이터를 노출합니다.

이 클래스는 TypeScript 프로그램의 FileFormat 객체를 위해 13개의 메서드를 선언합니다. 사용 가능한 메서드에는 canExport, canImport, constructor, contentType, createLoadOptions, createSaveOptions, extension, extensions, fileFormatType, formats, getFormatByExtension, registerFormat 및 추가 메서드 1개가 포함됩니다. 공개 멤버는 Aspose.3D FOSS for TypeScript 패키지를 설치한 후 모든 TypeScript 애플리케이션에서 접근할 수 있습니다.

메서드

시그니처설명
constructor()이 FileFormat 인스턴스에서 생성자를 호출합니다.
registerFormat(format: FileFormat)이 FileFormat 인스턴스에서 registerFormat(format)를 호출합니다.
getFormatByExtension(extension: string) → `FileFormatnull`
extension() → string이 FileFormat 인스턴스에서 extension을 호출합니다.
extensions() → string[]이 FileFormat 인스턴스에서 extensions를 호출합니다.
contentType() → string이 FileFormat 인스턴스에서 contentType을 호출합니다.
fileFormatType() → any이 FileFormat 인스턴스에서 fileFormatType을 호출합니다.
version() → string이 FileFormat 인스턴스에서 version을 호출합니다.
canExport() → boolean이 FileFormat 인스턴스에서 canExport를 호출합니다.
canImport() → boolean이 FileFormat 인스턴스에서 canImport를 호출합니다.
formats() → any[]이 FileFormat 인스턴스에서 formats를 호출합니다.
createLoadOptions() → LoadOptions이 FileFormat 인스턴스에서 createLoadOptions를 호출합니다.
createSaveOptions() → SaveOptions이 FileFormat 인스턴스에서 createSaveOptions를 호출합니다.

참조

 한국어