
**Inheritance:**
java.lang.Object, [com.aspose.threed.FileFormat](../../com.aspose.threed/fileformat)
```
public class PdfFormat extends FileFormat
```

Adobes Portable Document Format **Beispiel:** Der folgende Code zeigt, wie alle unterstützten 3D‑Szenen aus einer 3D‑PDF‑Datei extrahiert und im OBJ‑Format gespeichert werden.

```
var scenes = FileFormat.PDF.extractScene("input.pdf");
             for(int i = 0; i < scenes.size(); i++)
             {
                 scenes.get(i).save("output-" + i + ".obj");
             }
```
## Felder

| Feld | Beschreibung |
| --- | --- |
| [AMF](#AMF) | Dateiformat für additive Fertigung |
| [ASE](#ASE) | ASCII‑Szenenexporter‑Format von 3D Studio Max. |
| [ASPOSE3D_WEB](#ASPOSE3D-WEB) | Aspose.3D Web‑Format. |
| [BLENDER](#BLENDER) | 3D‑Dateiformat von Blender |
| [COLLADA](#COLLADA) | Collada‑Dateiformat |
| [DISCREET3DS](#DISCREET3DS) | Dateiformat von 3D Studio |
| [DRACO](#DRACO) | Google Draco Mesh |
| [DXF](#DXF) | AutoCAD DXF |
| [FBX6100ASCII](#FBX6100ASCII) | ASCII‑FBX‑Dateiformat, Version 6.1.0 |
| [FBX6100_BINARY](#FBX6100-BINARY) | Binäres FBX‑Dateiformat, mit Version 6.1.0 |
| [FBX7200ASCII](#FBX7200ASCII) | ASCII‑FBX‑Dateiformat, mit Version 7.2.0 |
| [FBX7200_BINARY](#FBX7200-BINARY) | Binäres FBX‑Dateiformat, mit Version 7.2.0 |
| [FBX7300ASCII](#FBX7300ASCII) | ASCII‑FBX‑Dateiformat, mit Version 7.3.0 |
| [FBX7300_BINARY](#FBX7300-BINARY) | Binäres FBX‑Dateiformat, mit Version 7.3.0 |
| [FBX7400ASCII](#FBX7400ASCII) | ASCII‑FBX‑Dateiformat, mit Version 7.4.0 |
| [FBX7400_BINARY](#FBX7400-BINARY) | Binäres FBX‑Dateiformat, mit Version 7.4.0 |
| [FBX7500ASCII](#FBX7500ASCII) | ASCII FBX-Dateiformat, Version 7.5.0 |
| [FBX7500_BINARY](#FBX7500-BINARY) | Binäres FBX-Dateiformat, Version 7.5.0 |
| [FBX7600ASCII](#FBX7600ASCII) | ASCII FBX-Dateiformat, Version 7.6.0 |
| [FBX7600_BINARY](#FBX7600-BINARY) | Binäres FBX-Dateiformat, Version 7.6.0 |
| [FBX7700ASCII](#FBX7700ASCII) | ASCII FBX-Dateiformat, Version 7.7.0 |
| [FBX7700_BINARY](#FBX7700-BINARY) | Binäres FBX-Dateiformat, Version 7.7.0 |
| [GLTF](#GLTF) | glTF der Khronos Group |
| [GLTF2](#GLTF2) | glTF der Khronos Group Version 2.0 |
| [GLTF2_BINARY](#GLTF2-BINARY) | glTF der Khronos Group Version 2.0 |
| [GLTF_BINARY](#GLTF-BINARY) | glTF der Khronos Group im Binärformat |
| [HTML5](#HTML5) | HTML5-Datei |
| [IFC](#IFC) | ISO 16739-1 Industry Foundation Classes Datenmodell. |
| [MAYAASCII](#MAYAASCII) | Autodesk Maya im ASCII-Format |
| [MAYA_BINARY](#MAYA-BINARY) | Autodesk Maya im Binärformat |
| [MICROSOFT3MF](#MICROSOFT3MF) | Microsoft 3D Manufacturing Format |
| [PCD](#PCD) | PCL Point Cloud Data-Datei im ASCII-Modus |
| [PCD_BINARY](#PCD-BINARY) | PCL Point Cloud Data-Datei im Binärmodus |
| [PDF](#PDF) | Adobe Portable Document Format |
| [PLY](#PLY) | Polygon File Format oder Stanford Triangle Format |
| [RVM_BINARY](#RVM-BINARY) | AVEVA Plant Design Management System Modell im Binärformat |
| [RVM_TEXT](#RVM-TEXT) | AVEVA Plant Design Management System Modell im Textformat |
| [SIEMENSJT8](#SIEMENSJT8) | Siemens JT-Datei Version 8 |
| [SIEMENSJT9](#SIEMENSJT9) | Siemens JT-Datei Version 9 |
| [STLASCII](#STLASCII) | ASCII STL-Dateiformat |
| [STL_BINARY](#STL-BINARY) | Binäres STL-Dateiformat |
| [UNIVERSAL3D](#UNIVERSAL3D) | Universal3D-Dateiformat |
| [USD](#USD) | Universelle Szenenbeschreibung |
| [USDA](#USDA) | Universelle Szenenbeschreibung im ASCII-Format. |
| [USDZ](#USDZ) | Komprimierte Universelle Szenenbeschreibung |
| [VRML](#VRML) | Die Virtual Reality Modeling Language |
| [WAVEFRONTOBJ](#WAVEFRONTOBJ) | Wavefronts Obj-Dateiformat |
| [XYZ](#XYZ) | Xyz-Punktwolken-Datei |
| [X_BINARY](#X-BINARY) | DirectX X-Datei im Binärformat |
| [X_TEXT](#X-TEXT) | DirectX X-Datei im Binärformat |
| [ZIP](#ZIP) | Zip-Archiv, das andere 3D-Dateiformate enthält. |
## Methoden

| Methode | Beschreibung |
| --- | --- |
| [createLoadOptions()](#createLoadOptions--) | Standard-Ladeoptionen für dieses Dateiformat erstellen |
| [createSaveOptions()](#createSaveOptions--) | Standard-Speicheroptionen für dieses Dateiformat erstellen |
| [detect(Stream stream, String fileName)](#detect-com.aspose.threed.Stream-java.lang.String-) | Erkennen Sie das Dateiformat aus dem Datenstrom, der Dateiname ist optional, um Typen zu erraten, die keinen Magic-Header haben. |
| [detect(String fileName)](#detect-java.lang.String-) | Erkennen Sie das Dateiformat anhand des Dateinamens, die Datei muss lesbar sein, damit Aspose.3D das Dateiformat über den Dateikopf erkennen kann. |
| [equals(Object arg0)](#equals-java.lang.Object-) |  |
| [extract(Stream stream)](#extract-com.aspose.threed.Stream-) | Roh‑3D‑Inhalt aus PDF‑Stream extrahieren. |
| [extract(Stream stream, byte[] password)](#extract-com.aspose.threed.Stream-byte---) | Roh‑3D‑Inhalt aus PDF‑Stream extrahieren. |
| [extract(String fileName)](#extract-java.lang.String-) | Roh‑3D‑Inhalt aus PDF‑Datei extrahieren. |
| [extract(String fileName, byte[] password)](#extract-java.lang.String-byte---) | Roh‑3D‑Inhalt aus PDF‑Datei extrahieren. |
| [extractScene(Stream stream)](#extractScene-com.aspose.threed.Stream-) | Roh‑3D‑Inhalt aus PDF‑Stream extrahieren. |
| [extractScene(Stream stream, byte[] password)](#extractScene-com.aspose.threed.Stream-byte---) | Roh‑3D‑Inhalt aus PDF‑Stream extrahieren. |
| [extractScene(String fileName)](#extractScene-java.lang.String-) | 3D‑Szenen aus PDF‑Datei extrahieren. |
| [extractScene(String fileName, byte[] password)](#extractScene-java.lang.String-byte---) | 3D‑Szenen aus PDF‑Datei extrahieren. |
| [getCanExport()](#getCanExport--) | Ermittelt, ob Aspose.3D den Export von Szenen in das aktuelle Dateiformat unterstützt. |
| [getCanImport()](#getCanImport--) | Ermittelt, ob Aspose.3D den Import von Szenen aus dem aktuellen Dateiformat unterstützt. |
| [getClass()](#getClass--) |  |
| [getContentType()](#getContentType--) | Ermittelt den Inhaltstyp des Dateiformats |
| [getExtension()](#getExtension--) | Ermittelt den Erweiterungsnamen dieses Typs. |
| [getExtensions()](#getExtensions--) | Ermittelt die Erweiterungsnamen dieses Typs. |
| [getFileFormatType()](#getFileFormatType--) | Ermittelt den Dateiformattyp |
| [getFormatByExtension(String extensionName)](#getFormatByExtension-java.lang.String-) | Ermittelt das bevorzugte Dateiformat anhand des Dateierweiterungsnamens. Der Erweiterungsname sollte mit einem Punkt ('.') beginnen. |
| [getFormats()](#getFormats--) | Zugriff auf alle unterstützten Formate |
| [getVersion()](#getVersion--) | Ermittelt die Dateiformatversion |
| [hashCode()](#hashCode--) |  |
| [notify()](#notify--) |  |
| [notifyAll()](#notifyAll--) |  |
| [toString()](#toString--) | Formate in Zeichenkette |
| [wait()](#wait--) |  |
| [wait(long arg0)](#wait-long-) |  |
| [wait(long arg0, int arg1)](#wait-long-int-) |  |
### AMF {#AMF}
```
public static final FileFormat AMF
```


Dateiformat für additive Fertigung

### ASE {#ASE}
```
public static final FileFormat ASE
```


ASCII‑Szenenexporter‑Format von 3D Studio Max.

### ASPOSE3D_WEB {#ASPOSE3D-WEB}
```
public static final FileFormat ASPOSE3D_WEB
```


Aspose.3D Web‑Format.

### BLENDER {#BLENDER}
```
public static final FileFormat BLENDER
```


3D‑Dateiformat von Blender

### COLLADA {#COLLADA}
```
public static final FileFormat COLLADA
```


Collada‑Dateiformat

### DISCREET3DS {#DISCREET3DS}
```
public static final FileFormat DISCREET3DS
```


Dateiformat von 3D Studio

### DRACO {#DRACO}
```
public static final DracoFormat DRACO
```


Google Draco Mesh

### DXF {#DXF}
```
public static final FileFormat DXF
```


AutoCAD DXF

### FBX6100ASCII {#FBX6100ASCII}
```
public static final FileFormat FBX6100ASCII
```


ASCII‑FBX‑Dateiformat, Version 6.1.0

### FBX6100_BINARY {#FBX6100-BINARY}
```
public static final FileFormat FBX6100_BINARY
```


Binäres FBX‑Dateiformat, mit Version 6.1.0

### FBX7200ASCII {#FBX7200ASCII}
```
public static final FileFormat FBX7200ASCII
```


ASCII‑FBX‑Dateiformat, mit Version 7.2.0

### FBX7200_BINARY {#FBX7200-BINARY}
```
public static final FileFormat FBX7200_BINARY
```


Binäres FBX‑Dateiformat, mit Version 7.2.0

### FBX7300ASCII {#FBX7300ASCII}
```
public static final FileFormat FBX7300ASCII
```


ASCII‑FBX‑Dateiformat, mit Version 7.3.0

### FBX7300_BINARY {#FBX7300-BINARY}
```
public static final FileFormat FBX7300_BINARY
```


Binäres FBX‑Dateiformat, mit Version 7.3.0

### FBX7400ASCII {#FBX7400ASCII}
```
public static final FileFormat FBX7400ASCII
```


ASCII‑FBX‑Dateiformat, mit Version 7.4.0

### FBX7400_BINARY {#FBX7400-BINARY}
```
public static final FileFormat FBX7400_BINARY
```


Binäres FBX‑Dateiformat, mit Version 7.4.0

### FBX7500ASCII {#FBX7500ASCII}
```
public static final FileFormat FBX7500ASCII
```


ASCII FBX-Dateiformat, Version 7.5.0

### FBX7500_BINARY {#FBX7500-BINARY}
```
public static final FileFormat FBX7500_BINARY
```


Binäres FBX-Dateiformat, Version 7.5.0

### FBX7600ASCII {#FBX7600ASCII}
```
public static final FileFormat FBX7600ASCII
```


ASCII FBX-Dateiformat, Version 7.6.0

### FBX7600_BINARY {#FBX7600-BINARY}
```
public static final FileFormat FBX7600_BINARY
```


Binäres FBX-Dateiformat, Version 7.6.0

### FBX7700ASCII {#FBX7700ASCII}
```
public static final FileFormat FBX7700ASCII
```


ASCII FBX-Dateiformat, Version 7.7.0

### FBX7700_BINARY {#FBX7700-BINARY}
```
public static final FileFormat FBX7700_BINARY
```


Binäres FBX-Dateiformat, Version 7.7.0

### GLTF {#GLTF}
```
public static final FileFormat GLTF
```


glTF der Khronos Group

### GLTF2 {#GLTF2}
```
public static final FileFormat GLTF2
```


glTF der Khronos Group Version 2.0

### GLTF2_BINARY {#GLTF2-BINARY}
```
public static final FileFormat GLTF2_BINARY
```


glTF der Khronos Group Version 2.0

### GLTF_BINARY {#GLTF-BINARY}
```
public static final FileFormat GLTF_BINARY
```


glTF der Khronos Group im Binärformat

### HTML5 {#HTML5}
```
public static final FileFormat HTML5
```


HTML5-Datei

### IFC {#IFC}
```
public static final FileFormat IFC
```


ISO 16739-1 Industry Foundation Classes Datenmodell.

### MAYAASCII {#MAYAASCII}
```
public static final FileFormat MAYAASCII
```


Autodesk Maya im ASCII-Format

### MAYA_BINARY {#MAYA-BINARY}
```
public static final FileFormat MAYA_BINARY
```


Autodesk Maya im Binärformat

### MICROSOFT3MF {#MICROSOFT3MF}
```
public static final Microsoft3MFFormat MICROSOFT3MF
```


Microsoft 3D Manufacturing Format

### PCD {#PCD}
```
public static final FileFormat PCD
```


PCL Point Cloud Data-Datei im ASCII-Modus

### PCD_BINARY {#PCD-BINARY}
```
public static final FileFormat PCD_BINARY
```


PCL Point Cloud Data-Datei im Binärmodus

### PDF {#PDF}
```
public static final PdfFormat PDF
```


Adobe Portable Document Format

### PLY {#PLY}
```
public static final PlyFormat PLY
```


Polygon File Format oder Stanford Triangle Format

### RVM_BINARY {#RVM-BINARY}
```
public static final RvmFormat RVM_BINARY
```


AVEVA Plant Design Management System Modell im Binärformat

### RVM_TEXT {#RVM-TEXT}
```
public static final RvmFormat RVM_TEXT
```


AVEVA Plant Design Management System Modell im Textformat

### SIEMENSJT8 {#SIEMENSJT8}
```
public static final FileFormat SIEMENSJT8
```


Siemens JT-Datei Version 8

### SIEMENSJT9 {#SIEMENSJT9}
```
public static final FileFormat SIEMENSJT9
```


Siemens JT-Datei Version 9

### STLASCII {#STLASCII}
```
public static final FileFormat STLASCII
```


ASCII STL-Dateiformat

### STL_BINARY {#STL-BINARY}
```
public static final FileFormat STL_BINARY
```


Binäres STL-Dateiformat

### UNIVERSAL3D {#UNIVERSAL3D}
```
public static final FileFormat UNIVERSAL3D
```


Universal3D-Dateiformat

### USD {#USD}
```
public static final FileFormat USD
```


Universelle Szenenbeschreibung

### USDA {#USDA}
```
public static final FileFormat USDA
```


Universelle Szenenbeschreibung im ASCII-Format.

### USDZ {#USDZ}
```
public static final FileFormat USDZ
```


Komprimierte Universelle Szenenbeschreibung

### VRML {#VRML}
```
public static final FileFormat VRML
```


Die Virtual Reality Modeling Language

### WAVEFRONTOBJ {#WAVEFRONTOBJ}
```
public static final FileFormat WAVEFRONTOBJ
```


Wavefronts Obj-Dateiformat

### XYZ {#XYZ}
```
public static final FileFormat XYZ
```


Xyz-Punktwolken-Datei

### X_BINARY {#X-BINARY}
```
public static final FileFormat X_BINARY
```


DirectX X-Datei im Binärformat

### X_TEXT {#X-TEXT}
```
public static final FileFormat X_TEXT
```


DirectX X-Datei im Binärformat

### ZIP {#ZIP}
```
public static final FileFormat ZIP
```


Zip-Archiv, das andere 3D-Dateiformate enthält.

### createLoadOptions() {#createLoadOptions--}
```
public LoadOptions createLoadOptions()
```


Standard-Ladeoptionen für dieses Dateiformat erstellen

**Returns:**
[LoadOptions](../../com.aspose.threed/loadoptions) - A default load option for current format
### createSaveOptions() {#createSaveOptions--}
```
public SaveOptions createSaveOptions()
```


Standard-Speicheroptionen für dieses Dateiformat erstellen

**Returns:**
[SaveOptions](../../com.aspose.threed/saveoptions) - A default save option for current format
### detect(Stream stream, String fileName) {#detect-com.aspose.threed.Stream-java.lang.String-}
```
public static FileFormat detect(Stream stream, String fileName)
```


Erkennen Sie das Dateiformat aus dem Datenstrom, der Dateiname ist optional, um Typen zu erraten, die keinen Magic-Header haben.

**Parameters:**
| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| stream | [Stream](../../com.aspose.threed/stream) | Strom, der zu erkennende Daten enthält |
| fileName | java.lang.String | Ursprünglicher Dateiname der Daten, als Hinweis verwendet. |

**Returns:**
[FileFormat](../../com.aspose.threed/fileformat) - The [FileFormat](../../com.aspose.threed/fileformat) instance of the detected type or null if failed.
### detect(String fileName) {#detect-java.lang.String-}
```
public static FileFormat detect(String fileName)
```


Erkennen Sie das Dateiformat anhand des Dateinamens, die Datei muss lesbar sein, damit Aspose.3D das Dateiformat über den Dateikopf erkennen kann.

**Parameters:**
| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| fileName | java.lang.String | Pfad zur Datei, um das Dateiformat zu erkennen. |

**Returns:**
[FileFormat](../../com.aspose.threed/fileformat) - The [FileFormat](../../com.aspose.threed/fileformat) instance of the detected type or null if failed.
### equals(Object arg0) {#equals-java.lang.Object-}
```
public boolean equals(Object arg0)
```




**Parameters:**
| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| arg0 | java.lang.Object |  |

**Returns:**
boolean
### extract(Stream stream) {#extract-com.aspose.threed.Stream-}
```
public ArrayList<byte[]> extract(Stream stream)
```


Roh‑3D‑Inhalt aus PDF‑Stream extrahieren.

**Parameters:**
| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| stream | [Stream](../../com.aspose.threed/stream) | Stream der Eingabe‑PDF‑Datei |

**Returns:**
java.util.ArrayList<byte[]> – Eine Liste aller 3D‑Inhalte in Bytes, einschließlich der Formate, die Aspose.3D nicht unterstützt. **Beispiel:** Der folgende Code zeigt, wie alle rohen 3D‑Inhalte aus einer 3D‑PDF‑Datei extrahiert und in Dateien geschrieben werden.

```
var raw3DContents = FileFormat.PDF.extract("input.pdf");
             for (int i = 0; i < raw3DContents.size(); i++)
             {
                 Files.write(Paths.get("raw-3d-" + i), raw3DContents.get(i));
             }
```
### extract(Stream stream, byte[] password) {#extract-com.aspose.threed.Stream-byte---}
```
public ArrayList<byte[]> extract(Stream stream, byte[] password)
```


Roh‑3D‑Inhalt aus PDF‑Stream extrahieren.

**Parameters:**
| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| stream | [Stream](../../com.aspose.threed/stream) | Stream der Eingabe‑PDF‑Datei |
| Passwort | byte[] | Passwort der PDF-Datei |

**Returns:**
java.util.ArrayList<byte[]> – Eine Liste aller 3D‑Inhalte in Bytes, einschließlich der Formate, die Aspose.3D nicht unterstützt. **Beispiel:** Der folgende Code zeigt, wie alle rohen 3D‑Inhalte aus einer 3D‑PDF‑Datei extrahiert und in Dateien geschrieben werden.

```
var raw3DContents = FileFormat.PDF.extract("input.pdf");
             for (int i = 0; i < raw3DContents.size(); i++)
             {
                 Files.write(Paths.get("raw-3d-" + i), raw3DContents.get(i));
             }
```
### extract(String fileName) {#extract-java.lang.String-}
```
public ArrayList<byte[]> extract(String fileName)
```


Roh‑3D‑Inhalt aus PDF‑Datei extrahieren.

**Parameters:**
| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| fileName | java.lang.String | Dateiname der Eingabe-PDF-Datei |

**Returns:**
java.util.ArrayList<byte[]> – Eine Liste aller 3D‑Inhalte in Bytes, einschließlich der Formate, die Aspose.3D nicht unterstützt. **Beispiel:** Der folgende Code zeigt, wie alle rohen 3D‑Inhalte aus einer 3D‑PDF‑Datei extrahiert und in Dateien geschrieben werden.

```
var raw3DContents = FileFormat.PDF.extract("input.pdf");
             for (int i = 0; i < raw3DContents.size(); i++)
             {
                 Files.write(Paths.get("raw-3d-" + i), raw3DContents.get(i));
             }
```
### extract(String fileName, byte[] password) {#extract-java.lang.String-byte---}
```
public ArrayList<byte[]> extract(String fileName, byte[] password)
```


Roh‑3D‑Inhalt aus PDF‑Datei extrahieren.

**Parameters:**
| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| fileName | java.lang.String | Dateiname der Eingabe-PDF-Datei |
| Passwort | byte[] | Passwort der PDF-Datei |

**Returns:**
java.util.ArrayList<byte[]> – Eine Liste aller 3D‑Inhalte in Bytes, einschließlich der Formate, die Aspose.3D nicht unterstützt. **Beispiel:** Der folgende Code zeigt, wie alle rohen 3D‑Inhalte aus einer 3D‑PDF‑Datei extrahiert und in Dateien geschrieben werden.

```
var raw3DContents = FileFormat.PDF.extract("input.pdf");
             for (int i = 0; i < raw3DContents.size(); i++)
             {
                 Files.write(Paths.get("raw-3d-" + i), raw3DContents.get(i));
             }
```
### extractScene(Stream stream) {#extractScene-com.aspose.threed.Stream-}
```
public ArrayList<Scene> extractScene(Stream stream)
```


Roh‑3D‑Inhalt aus PDF‑Stream extrahieren.

**Parameters:**
| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| stream | [Stream](../../com.aspose.threed/stream) | Stream der Eingabe‑PDF‑Datei |

**Returns:**
java.util.ArrayList<com.aspose.threed.Scene> - Liste der dekodierten 3D‑Szenen, die von Aspose.3D unterstützt werden **Beispiel:** Der folgende Code zeigt, wie man alle unterstützten 3D‑Szenen aus einer 3D‑PDF‑Datei extrahiert und sie im OBJ‑Format schreibt.

```
var scenes = FileFormat.PDF.extractScene("input.pdf");
             for(int i = 0; i < scenes.size(); i++)
             {
                 scenes.get(i).save("output-" + i + ".obj");
             }
```
### extractScene(Stream stream, byte[] password) {#extractScene-com.aspose.threed.Stream-byte---}
```
public ArrayList<Scene> extractScene(Stream stream, byte[] password)
```


Roh‑3D‑Inhalt aus PDF‑Stream extrahieren.

**Parameters:**
| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| stream | [Stream](../../com.aspose.threed/stream) | Stream der Eingabe‑PDF‑Datei |
| Passwort | byte[] | Passwort der PDF-Datei |

**Returns:**
java.util.ArrayList<com.aspose.threed.Scene> - Liste der dekodierten 3D‑Szenen, die von Aspose.3D unterstützt werden **Beispiel:** Der folgende Code zeigt, wie man alle unterstützten 3D‑Szenen aus einer 3D‑PDF‑Datei extrahiert und sie im OBJ‑Format schreibt.

```
var scenes = FileFormat.PDF.extractScene("input.pdf");
             for(int i = 0; i < scenes.size(); i++)
             {
                 scenes.get(i).save("output-" + i + ".obj");
             }
```
### extractScene(String fileName) {#extractScene-java.lang.String-}
```
public ArrayList<Scene> extractScene(String fileName)
```


3D‑Szenen aus PDF‑Datei extrahieren.

**Parameters:**
| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| fileName | java.lang.String | Dateiname der Eingabe-PDF-Datei |

**Returns:**
java.util.ArrayList<com.aspose.threed.Scene> - Liste der dekodierten 3D‑Szenen, die von Aspose.3D unterstützt werden **Beispiel:** Der folgende Code zeigt, wie man alle unterstützten 3D‑Szenen aus einer 3D‑PDF‑Datei extrahiert und sie im OBJ‑Format schreibt.

```
var scenes = FileFormat.PDF.extractScene("input.pdf");
             for(int i = 0; i < scenes.size(); i++)
             {
                 scenes.get(i).save("output-" + i + ".obj");
             }
```
### extractScene(String fileName, byte[] password) {#extractScene-java.lang.String-byte---}
```
public ArrayList<Scene> extractScene(String fileName, byte[] password)
```


3D‑Szenen aus PDF‑Datei extrahieren.

**Parameters:**
| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| fileName | java.lang.String | Dateiname der Eingabe-PDF-Datei |
| Passwort | byte[] | Passwort der PDF-Datei |

**Returns:**
java.util.ArrayList<com.aspose.threed.Scene> - Liste der dekodierten 3D‑Szenen, die von Aspose.3D unterstützt werden **Beispiel:** Der folgende Code zeigt, wie man alle unterstützten 3D‑Szenen aus einer 3D‑PDF‑Datei extrahiert und sie im OBJ‑Format schreibt.

```
var scenes = FileFormat.PDF.extractScene("input.pdf");
             for(int i = 0; i < scenes.size(); i++)
             {
                 scenes.get(i).save("output-" + i + ".obj");
             }
```
### getCanExport() {#getCanExport--}
```
public boolean getCanExport()
```


Ermittelt, ob Aspose.3D den Export von Szenen in das aktuelle Dateiformat unterstützt.

**Returns:**
boolean - ob Aspose.3D den Export einer Szene in das aktuelle Dateiformat unterstützt. **Beispiel:** Der folgende Code zeigt, wie geprüft werden kann, ob das Exportieren in das angegebene Format unterstützt wird.

```
var outputFormat = ".glb";
     var format = FileFormat.getFormatByExtension(outputFormat);
     if (format.getCanExport())
         System.out.printf("Can export to %s", outputFormat);
```
### getCanImport() {#getCanImport--}
```
public boolean getCanImport()
```


Ermittelt, ob Aspose.3D den Import von Szenen aus dem aktuellen Dateiformat unterstützt.

**Returns:**
boolean - ob Aspose.3D den Import einer Szene aus dem aktuellen Dateiformat unterstützt. **Beispiel:** Der folgende Code zeigt, wie geprüft werden kann, ob das Importieren aus dem angegebenen Format unterstützt wird.

```
var outputFormat = ".glb";
     var format = FileFormat.getFormatByExtension(outputFormat);
     if (format.getCanImport())
         System.out.printf("Can import from %s", outputFormat);
```
### getClass() {#getClass--}
```
public final native Class<?> getClass()
```




**Returns:**
java.lang.Class<?>
### getContentType() {#getContentType--}
```
public FileContentType getContentType()
```


Ermittelt den Inhaltstyp des Dateiformats

**Returns:**
[FileContentType](../../com.aspose.threed/filecontenttype) - file format content type **Example:**

```
var format = FileFormat.MAYA_BINARY;
     if (format.getContentType() == FileContentType.BINARY)
         System.out.printf("%s is binary format", format);
     else
         System.out.printf("%s is text-based format", format);
```
### getExtension() {#getExtension--}
```
public String getExtension()
```


Ermittelt den Erweiterungsnamen dieses Typs.

**Returns:**
java.lang.String - der Erweiterungsname dieses Typs. **Beispiel:**

```
var format = FileFormat.MAYA_BINARY;
     System.out.printf("Extension of %s is %s", format, format.getExtension());
```
### getExtensions() {#getExtensions--}
```
public String[] getExtensions()
```


Ermittelt die Erweiterungsnamen dieses Typs.

**Returns:**
java.lang.String[] - die Erweiterungsnamen dieses Typs.
### getFileFormatType() {#getFileFormatType--}
```
public FileFormatType getFileFormatType()
```


Ermittelt den Dateiformattyp

**Returns:**
[FileFormatType](../../com.aspose.threed/fileformattype) - file format type
### getFormatByExtension(String extensionName) {#getFormatByExtension-java.lang.String-}
```
public static FileFormat getFormatByExtension(String extensionName)
```


Ermittelt das bevorzugte Dateiformat anhand des Dateierweiterungsnamens. Der Erweiterungsname sollte mit einem Punkt ('.') beginnen.

**Parameters:**
| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| extensionName | java.lang.String | Der Erweiterungsname beginnt mit '.' für die Abfrage. |

**Returns:**
[FileFormat](../../com.aspose.threed/fileformat) - Instance of [FileFormat](../../com.aspose.threed/fileformat), otherwise null returned. **Example:** The following code shows how to save scene to memory using specified format

```
Scene scene = new Scene(new Box());
     var outputFormat = ".glb";
     var format = FileFormat.getFormatByExtension(outputFormat);
     var output = new ByteArrayOutputStream();
     scene.save(output);
```
### getFormats() {#getFormats--}
```
public static List<FileFormat> getFormats()
```


Zugriff auf alle unterstützten Formate

**Returns:**
java.util.List<com.aspose.threed.FileFormat> - Zugriff auf alle unterstützten Formate
### getVersion() {#getVersion--}
```
public Version getVersion()
```


Ermittelt die Dateiformatversion

**Returns:**
[Version](../../com.aspose.threed/version) - file format version
### hashCode() {#hashCode--}
```
public native int hashCode()
```




**Returns:**
int
### notify() {#notify--}
```
public final native void notify()
```




### notifyAll() {#notifyAll--}
```
public final native void notifyAll()
```




### toString() {#toString--}
```
public String toString()
```


Formate in Zeichenkette

**Returns:**
java.lang.String - Objektzeichenkette
### wait() {#wait--}
```
public final void wait()
```




### wait(long arg0) {#wait-long-}
```
public final void wait(long arg0)
```




**Parameters:**
| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| arg0 | long |  |

### wait(long arg0, int arg1) {#wait-long-int-}
```
public final void wait(long arg0, int arg1)
```




**Parameters:**
| Parameter | Typ | Beschreibung |
| --- | --- | --- |
| arg0 | long |  |
| arg1 | int |  |

