A3DPDFPageFieldSet3DAnnot

A3DStatus A3DPDFPageFieldSet3DAnnot(A3DPDFPage *pPage, const A3DUTF8Char *pcFieldName, const A3DPDF3DAnnot *p3DAnnot)

deprecated

A3DStatus A3DPDFPageFieldSet3DAnnot(A3DPDFPage* pPage, const A3DUTF8Char* pcFieldName, const A3DPDF3DAnnot* p3DAnnot)

Function to replace the form field specified with a 3D Annot object.

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.

pcFieldName: The name of the form field. Only Acroform fields are supported.

p3DAnnot: The 3D Annot to set.

Returns

A3D_SUCCESS in case of success or an error code