FileFormat
סקירה כללית
FileFormat היא מחלקה ב-Aspose.3D FOSS עבור TypeScript.
עצמים FileFormat מציגים מטא-נתונים כגון סיומת, גרסאות נתמכות, והאם ניתן לייבא או לייצא את הפורמט.
מחלקה זו מגדירה 13 שיטות עבור עצמים FileFormat בתוכניות TypeScript. השיטות הזמינות כוללות: canExport, canImport, constructor, contentType, createLoadOptions, createSaveOptions, extension, extensions, fileFormatType, formats, getFormatByExtension, registerFormat, ושיטה נוספת אחת. חברים ציבוריים נגישים לכל יישום TypeScript לאחר התקנת חבילת Aspose.3D FOSS עבור TypeScript.
שיטות
| חתימה | תיאור |
|---|---|
constructor() | קורא לבונה על מופע ה-FileFormat הזה. |
registerFormat(format: FileFormat) | קורא ל-registerFormat(format) על מופע ה-FileFormat הזה. |
getFormatByExtension(extension: string) → `FileFormat | null` |
extension() → string | קורא ל-extension על מופע ה-FileFormat הזה. |
extensions() → string[] | קורא extensions על מופע ה-FileFormat הזה. |
contentType() → string | קורא contentType על מופע ה-FileFormat הזה. |
fileFormatType() → any | קורא fileFormatType על מופע ה-FileFormat הזה. |
version() → string | קורא version על מופע ה-FileFormat הזה. |
canExport() → boolean | קורא ל-canExport במופע FileFormat הזה. |
canImport() → boolean | קורא ל-canImport במופע FileFormat הזה. |
formats() → any[] | קורא ל-formats במופע FileFormat הזה. |
createLoadOptions() → LoadOptions | קורא ל-createLoadOptions במופע FileFormat הזה. |
createSaveOptions() → SaveOptions | קורא ל-createSaveOptions על מופע ה-FileFormat הזה. |