L_NITFGetTextHeaderCount

#include "ltntf.h"

L_LTNTF_API L_INT L_NITFGetTextHeaderCount(hNitf)

HNITF hNitf;

/* handle to an existing NITF file */

Retrieves the number of the text segments in the hNitf handle. This function is available in the Document Toolkit.

Parameter

Description

hNitf

Handle to an existing NITF file, created by calling the L_NITFCreate function.

Returns

>= 0

Number of text segments.

< 0

An error occurred. Refer to Return Codes.

Comments

To retrieve the text header information for a specific text segment, call the L_NITFGetTextHeader function.

To change the text header information for a specific text segment, call the L_NITFSetTextHeader function.

Required DLLs and Libraries

LTNTF

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

Functions:

L_NITFCreate, L_NITFGetTextHeader, L_NITFSetTextHeader

Topics:

NITF Functions: Getting and Setting Header Information

 

Programming with LEADTOOLS NITF Functions

Example

For an example, refer to L_NITFGetTextHeader.