# A3DPDFRichMediaAnnotCreateFromFile

A3DStatus `A3DPDFRichMediaAnnotCreateFromFile`(A3DPDFDocument *pDoc, const A3DPDFRichMediaAnnotData *pRichMediaAnnotData, const A3DUTF8Char *pcFileName, A3DPDFRichMediaAnnot **ppRichMediaAnnot)
  `A3DStatus` A3DPDFRichMediaAnnotCreateFromFile(`A3DPDFDocument`* pDoc, const `A3DPDFRichMediaAnnotData`* pRichMediaAnnotData, const `A3DUTF8Char`* 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

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your multilingual generative AI assistant for documentation. Ask me anything about HOOPS Exchange in your own language, or choose a sample question below to start a conversation:

What is HOOPS Exchange?
What are the latest release notes for HOOPS Exchange?
How do I start evaluating HOOPS Exchange?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...