Syntax
C++
C#
Visual Basic .NET
Parameters
IsSaveRequired [in] Specifies whether to save changes done to the page. Pass FALSE if the page has not been changed or saving changes is not required. Result [out, retval] The pointer to the variable that receives the method execution result. The result is TRUE if the method completed successfully, and FALSE otherwise.Return values
This method has no specific return values. It returns standard return codes of ABBYY FineReader Engine functions.Remarks
In Windows, the behavior of the Flush method depends on the value of the IFRDocument::PageFlushingPolicy property. If the value of PageFlushingPolicy is PFP_FlushToDisk, a call to the method unloads layout and image documents to disk. If it is PFP_Auto, a call to the method unloads the data to disk, if there are more than 30 pages in the document; otherwise, the data is kept in memory. If it is PFP_KeepInMemory, the data is not unloaded. This is convenient when you process both small and large documents in one solution, as you can use the same code for processing.See also
FRPage IFRDocument::PageFlushingPolicyIterating Document Pages
