L_NITFGetImageHeaderCount

#include "ltntf.h"

L_LTNTF_API L_INT L_NITFGetImageHeaderCount(hNitf)

HNITF hNitf;

/* handle to an existing NITF file */

Retrieves the number of the image segments in the hNitf handle.

Parameter

Description

hNitf

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

Returns

>= 0

Number of image segments.

< 0

An error occurred. Refer to Return Codes.

Comments

To retrieve the image header information for a specific image segment, call the L_NITFGetImageHeader function.

To change the image header information for a specific image segment, call the L_NITFSetImageHeader 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_NITFGetImageHeader, L_NITFSetImageHeader

Topics:

NITF Functions: Getting and Setting Header Information

 

Programming with LEADTOOLS NITF Functions

Example

For an example, refer to L_NITFGetImageHeader.