Add 3d model into PDF

How to add 3D model (U3D file) inside PDF. (attached example PDF) 3D-PDF-Sample-School.pdf (861.0 KB)

@BALKRUSHNA015478

Could you please also provide the used U3D file so that we can investigate the feasibility of your requirements and share our feedback with you?

PFA demo U3D file. 3DInsightImage0.9441791865729244.u3d.zip (7.6 MB)

@BALKRUSHNA015478

Please use the below code snippet to add 3D content in the PDF file:

Document doc = new Document();
doc.Pages.Add();
PDF3DAnnotation anot = new PDF3DAnnotation(doc.Pages[1], doc.Pages[1].GetPageRect(true), new PDF3DArtwork(doc, new PDF3DContent(dataDir + "3DInsightImage0.9441791865729244.u3d")));
doc.Pages[1].Annotations.Add(anot);
doc.Save(dataDir + "3DAnnot.pdf");

Thank you @asad.ali I am able to add 3d model on PDF page.

If I want to add this PDF3DAnnotation in a certain cell of a table, then how could I achieve it ?

@BALKRUSHNA015478

Please share a sample PDF document for our reference which you want to generate using the API. We will check it and try to create a code sample to generate similar output using Aspose.PDF.