Products | Support | Send comments on this topic. | Email a link to this topic. | Back to Getting Started | Help Version 18.0.10.24
LEADTOOLS Raster imaging C++ Class library help

LAnnContainer::DeletePageOffset

Show in webframe

#include "ltwrappr.h"

virtual L_INT LAnnContainer::DeletePageOffset(fd, nOffset, nPage)

L_HFILE fd;

/* windows handle of the file */

L_SSIZE_T nOffset;

/* position of the first byte */

L_INT32 nPage;

/* page to delete */

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

Parameter

Description

fd

Windows handle of the annotation file.

nOffset

Position of the first byte 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 that is embedded in another 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::FileInfoOffset.

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.

See Also

Functions:

LAnnContainer::DeletePage, LAnnContainer::DeletePageMemory, LAnnContainer::FileInfoMemory, LAnnContainer::FileInfoOffset, LAnnContainer::Load, LAnnContainer::LoadOffset, LAnnContainer::LoadMemory, LAnnContainer::Save, LAnnContainer::SaveOffset, LAnnContainer::SaveMemory, Class Members

Topics:

Annotation Functions: Input and Output

 

Implementing Annotations

Example

For an example, refer to LAnnContainer::FileInfoOffset.

Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.