**Inheritance:**
java.lang.Object, com.aspose.pdf.PDF3DContent

```
public class PDF3DContent extends Object
```

Class PDF3DContent.

## Constructors

| Constructor | Description |
| --- | --- |
| [PDF3DContent](#PDF3DContent--) | Initializes a new instance of the {@code PDF3DContent} class. |
| [PDF3DContent](#PDF3DContent-java.lang.String-) | Initializes a new instance of the {@code PDF3DContent} class. |

## Methods

| Method | Description |
| --- | --- |
| [getAsByteArray](#getAsByteArray--) | Gets 3D content as byte array. |
| [getAsStream](#getAsStream--) | Gets 3D content as stream. |
| [getExtension](#getExtension--) | Gets the extension . |
| [load](#load-java.lang.String-) | Loads 3D content with the specified filename. |
| [loadAsPRC](#loadAsPRC-byte:A-) | Loads 3D content from byte array as PRC format. |
| [loadAsPRC](#loadAsPRC-java.io.InputStream-) | Loads 3D content from stream as PRC format. |
| [loadAsPRC](#loadAsPRC-java.lang.String-) | Loads 3D content with the specified filename as PRC format. |
| [loadAsU3D](#loadAsU3D-byte:A-) | Loads 3D content from byte array as U3D format. |
| [loadAsU3D](#loadAsU3D-java.io.InputStream-) | Loads 3D content from stream as U3D format. |
| [loadAsU3D](#loadAsU3D-java.lang.String-) | Loads 3D content with the specified filename as U3D format. |
| [saveToFile](#saveToFile-java.lang.String-) | Saves 3D content to file. |

### PDF3DContent {#PDF3DContent--}
```
public PDF3DContent()
```

Initializes a new instance of the {@code PDF3DContent} class.

### PDF3DContent {#PDF3DContent-java.lang.String-}
Initializes a new instance of the {@code PDF3DContent} class.

### getAsByteArray {#getAsByteArray--}
```
public byte[] getAsByteArray()
```

Gets 3D content as byte array.

**Returns:**
System.Byte[].

### getAsStream {#getAsStream--}
```
public InputStream getAsStream()
```

Gets 3D content as stream.

**Returns:**
Stream.

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

Gets the extension .

**Returns:**
String object: The extension.

### load {#load-java.lang.String-}
Loads 3D content with the specified filename.

### loadAsPRC {#loadAsPRC-byte:A-}
```
public void loadAsPRC(byte[] stream)
```

Loads 3D content from byte array as PRC format.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| stream |  | The stream. |

### loadAsPRC {#loadAsPRC-java.io.InputStream-}
Loads 3D content from stream as PRC format.

### loadAsPRC {#loadAsPRC-java.lang.String-}
Loads 3D content with the specified filename as PRC format.

### loadAsU3D {#loadAsU3D-byte:A-}
```
public void loadAsU3D(byte[] stream)
```

Loads 3D content from byte array as U3D format.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| stream |  | The stream. |

### loadAsU3D {#loadAsU3D-java.io.InputStream-}
Loads 3D content from stream as U3D format.

### loadAsU3D {#loadAsU3D-java.lang.String-}
Loads 3D content with the specified filename as U3D format.

### saveToFile {#saveToFile-java.lang.String-}
Saves 3D content to file.
