Retrieves the number of the image segments in the hNitf handle.
#include "ltntf.h"
L_LTNTF_API L_INT L_NITFGetImageHeaderCount(hNitf)
Handle to an existing NITF file, created by calling the L_NITFCreate function.
Value | Meaning |
---|---|
>= 0 | Number of image segments. |
< 0 | An error occurred. Refer to Return Codes. |
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.
For an example, refer to L_NITFGetImageHeader.