Import 3D Scenes and Contents from a PDF in C#

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 C# 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 C# code example:

Extract All 3D Scenes and Save them into Supported 3D Formats

The ExtractScene 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 C# code example: