# A3DPDFDocumentSaveEx

A3DStatus `A3DPDFDocumentSaveEx`(A3DPDFDocument *pDoc, const int iSaveFlags, const A3DUTF8Char *pcFileName)
  `A3DStatus` A3DPDFDocumentSaveEx(`A3DPDFDocument`* pDoc, const int iSaveFlags, const `A3DUTF8Char`* pcFileName)

  Function to save the PDF document, using some flags for optimizing the size of the resulting PDF.

  Parameters

  > pDoc: The Document object to save, using some flags for optimizing the resulting PDF.

  > iSaveFlags: The saving flags, composed of bit fields detailed in Bit Field to indicate the saving options..

  > pcFileName: The file name where to save the document. The path (absolute or relative) must be provided (use “.\” or “./” for the current directory).

  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...