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) → `FileFormatnull`
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 הזה.

ראה גם

 עברית