A3DPDFRichMediaAnnotCreateFromFile
-
A3DStatus
A3DPDFRichMediaAnnotCreateFromFile(A3DPDFDocument *pDoc, const A3DPDFRichMediaAnnotData *pRichMediaAnnotData, const A3DUTF8Char *pcFileName, A3DPDFRichMediaAnnot **ppRichMediaAnnot) A3DStatusA3DPDFRichMediaAnnotCreateFromFile(A3DPDFDocument* pDoc, constA3DPDFRichMediaAnnotData* pRichMediaAnnotData, constA3DUTF8Char* pcFileName,A3DPDFRichMediaAnnot** ppRichMediaAnnot)Function to create a RichMedia Annotation object.
The RichMedia Annotation object is primarily created with this function, and it should be inserted on the page with the functions
A3DPDFPageInsertRichMediaAnnot().Parameters
pDoc: The Document object to work with.
pRichMediaAnnotData: The RichMedia Annot parameters.
pcFileName: The file name of the rich media input file. The file format is deducted from file extension. Supported file formats for video are : QuickTime Movie (.mov) ; MPEG (.mp4, .m4v) ; 3GPP Movie (.3gp, .3g2). Supported file formats for audio are : mp3
ppRichMediaAnnot: The RichMedia Annot object created.
Returns
A3D_SUCCESS in case of success or an error code