LAnnContainer::DeletePage
#include "ltwrappr.h"
virtual L_INT LAnnContainer::DeletePage(pszFile, nPage)
| L_TCHAR * pszFile; | /* file name */ | 
| L_INT32 nPage; | /* page to delete */ | 
Deletes a page from an annotation file containing multiple pages.
| Parameter | Description | 
| pszFile | Character string containing the name of the annotation file. | 
| nPage | Number of the page to delete. The page number is 1-based. Therefore, the first page is page 1, the second page is page 2, etc. | 
Returns
| SUCCESS | The function was successful. | 
| < 1 | An error occurred. Refer to Return Codes. | 
Comments
This function can be used to remove annotation pages from a multi-page annotation file. The page number is 1-based. Therefore, the first page is page 1, the second page is page 2, and so on. This function can be used for LEAD annotation files (ANNFMT_NATIVE, ANNFMT_ENCODED, or ANNFMT_XML). To determine the format for a particular LEAD annotation file, use LAnnContainer::FileInfo.
Required DLLs and Libraries
| LTANN For a listing of the exact DLLs and Libraries needed, based on the toolkit version, refer to Files To Be Included With Your Application. | 
See Also
Example
For an example, refer to LAnnContainer::FileInfo.