A3DPDFPageInsert3DAnnot

A3DStatus A3DPDFPageInsert3DAnnot(A3DPDFPage *pPage, const A3DPDF3DAnnot *p3DAnnot, const A3DPDFRectData *pRectData)

deprecated

A3DStatus A3DPDFPageInsert3DAnnot(A3DPDFPage* pPage, const A3DPDF3DAnnot* p3DAnnot, const A3DPDFRectData* pRectData)

Function to insert a 3D Annot in a page.

Insert a 3D Annot object on the page. Several 3D Annots can be stored on a page. After insertion, a unique id is generated for the 3D Annot object. This unique id can be retrieved with A3DPDF3DAnnotGetUniqueId().

Parameters

pPage: The Page object to work with.

p3DAnnot: The 3D Annot to insert on the page.

pRectData: The rectangle to specify the position on the page.

Returns

A3D_SUCCESS in case of success or an error code