File Content Extraction 26.1
Viewing SDK Programming Guide

# Save a Document

To save a document

1. Open the document. See Open and View a Document.

   To make sure that the entire document is opened before the document is saved, open the document with the `bWait` member in the TPVAPIOpenDocumentInfo structure set to `TRUE`.

   To save a document without viewing it, open the document with view mode disabled.

2. Use the VAPIMWP_FILE_CANSAVEAS message to determine whether the document is completely processed and can be saved.

3. Use the VAPIMWP_FILE_SAVEAS message to save the document through a Save As dialog box.

   To override the file path that VAPI uses to convert an I/O object to a temporary file when saving an I/O object document, respond to the VAPINMWP_INIT_GETTEMPFILEPATH notification message.

Copyright 2016-2025 Open Text
Version 26.1 | Last updated January 2026

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: File Content Extraction 26.1

Topic Title: Save a Document