Import 3D Scenes and Contents from a PDF
Contents
[
Hide
]
The
Scene
class of the Aspose.3D API represents a 3D scene. Developers can extract 3D scenes and contents from a PDF file.
Open Scene from a Password Protected PDF
The open
method of the Scene
class allows to load the 3D scene from an input PDF file. Developers may also apply password for the protected PDFs using PdfLoadOptions
class as shown in this code example:
Extract All Raw 3D Contents from a PDF
The extract
method of the PdfFormat
class allows to extract 3D contents from a PDF file. Developers may iterate through the contents, and save them into the separate files as shown in this code example:
Extract All 3D Scenes and Save them into Supported 3D Formats
The extract_scene
method of the PdfFormat
class allows to extract 3D scenes from a PDF file. Developers may iterate through the scenes, and save them in the supported 3D file formats as shown in this code example:
All the supported 3D file formats are listed in the Product Overview page.