Retrieves the number of the image segments in the NITF file.
#include "ltwrappr.h"
L_INT LNITFFile::GetImageHeaderCount()
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 LNITFFile::GetImageHeader function.
To change the image header information for a specific image segment, call the LNITFFile::SetImageHeader function.
For an example, refer to LNITFFile::GetImageHeader.