Deletes a page from a multipage annotation file that is embedded in another file.
#include "ltwrappr.h"
virtual L_INT LAnnContainer::DeletePageMemory(hMem, puMemSize, nPage)
Handle to the allocated memory where the file is stored.
Pointer to a variable to be updated with the size of the file.
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.
Value | Meaning |
---|---|
SUCCESS | The function was successful. |
< 1 | An error occurred. Refer to Return Codes. |
This function can be used to remove annotation pages from a multipage annotation file that is stored in memory. 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::FileInfoMemory.
Win32, x64.
For an example, refer to LAnnContainer::FileInfoMemory.
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document