lSavePage

The lSavePage parameter of the CompactFile method designates the page relative to the virtual beginning of the destination file. The virtual beginning of the file is:

image\sqrblit.gif the real beginning of the file, if the SaveIFD property is not set or

image\sqrblit.gif the page indicated by SaveIFD, if the SaveIFD property is set.

This parameter is used as follows:

If SAVE_INSERT is passed to the iModify parameter, all the pages are inserted before this page.

If SAVE_REPLACE is passed to the iModify parameter, this page and the remaining uPages – 1 will be replaced.

If neither of the above values are passed, then:

If lSavePage is 0, the file will be overwritten.

If lSavePage is <> 0, the pages will be appended to the end of the file.

Note that in case of conflict with the iModify parameter, the iModify parameter takes precedence.