PDF3DContent
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.PDF3DContent
public class PDF3DContent extends Object
Class PDF3DContent.
Constructors
| Constructor | Description |
|---|---|
| PDF3DContent | Initializes a new instance of the {@code PDF3DContent} class. |
| PDF3DContent | Initializes a new instance of the {@code PDF3DContent} class. |
Methods
| Method | Description |
|---|---|
| getAsByteArray | Gets 3D content as byte array. |
| getAsStream | Gets 3D content as stream. |
| getExtension | Gets the extension . |
| load | Loads 3D content with the specified filename. |
| loadAsPRC | Loads 3D content from byte array as PRC format. |
| loadAsPRC | Loads 3D content from stream as PRC format. |
| loadAsPRC | Loads 3D content with the specified filename as PRC format. |
| loadAsU3D | Loads 3D content from byte array as U3D format. |
| loadAsU3D | Loads 3D content from stream as U3D format. |
| loadAsU3D | Loads 3D content with the specified filename as U3D format. |
| saveToFile | Saves 3D content to file. |
PDF3DContent
public PDF3DContent()
Initializes a new instance of the {@code PDF3DContent} class.
PDF3DContent
Initializes a new instance of the {@code PDF3DContent} class.
getAsByteArray
public byte[] getAsByteArray()
Gets 3D content as byte array.
Returns: System.Byte[].
getAsStream
public InputStream getAsStream()
Gets 3D content as stream.
Returns: Stream.
getExtension
public String getExtension()
Gets the extension .
Returns: String object: The extension.
load
Loads 3D content with the specified filename.
loadAsPRC
public void loadAsPRC(byte[] stream)
Loads 3D content from byte array as PRC format.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| stream | The stream. |
loadAsPRC
Loads 3D content from stream as PRC format.
loadAsPRC
Loads 3D content with the specified filename as PRC format.
loadAsU3D
public void loadAsU3D(byte[] stream)
Loads 3D content from byte array as U3D format.
Parameters:
| Parameter | Type | Description |
|---|---|---|
| stream | The stream. |
loadAsU3D
Loads 3D content from stream as U3D format.
loadAsU3D
Loads 3D content with the specified filename as U3D format.
saveToFile
Saves 3D content to file.