# A3DPDFDocumentCreateFromPDFFile

A3DStatus `A3DPDFDocumentCreateFromPDFFile`(const A3DUTF8Char *pcFileName, A3DPDFDocument **ppDoc)
  `A3DStatus` A3DPDFDocumentCreateFromPDFFile(const `A3DUTF8Char`* pcFileName, `A3DPDFDocument`** ppDoc)

  Function to create a document from a PDF file.

  This function creates a document from a PDF input file. Starting with HOOPS Publish 6.0 the input PDF can contain several pages. Pages can be added to the document with append functions `A3DPDFDocumentAppendNewPage2()`or `A3DPDFDocumentAppendPageFromPDFFileAndSuffixFields()`.

  Parameters

  > pcFileName: The input file name.

  > ppDoc: The document 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...