LAnnContainer::DeletePageMemory

#include "ltwrappr.h"

virtual L_INT LAnnContainer::DeletePageMemory(hMem, puMemSize, nPage)

HGLOBAL hMem;

memory handle

L_SIZE_T * puMemSize;

pointer to a variable

L_INT32 nPage;

page to delete

Deletes a page from a multi-page annotation file that is embedded in another file.

Parameter

Description

hMem

Handle to the allocated memory where the file is stored.

puMemSize

Pointer to a variable to be updated with the size of the 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 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.

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.

Platforms

Win32, x64.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS Raster Imaging C++ Class Library Help