Retrieves the number of graphic segments in the hNitf handle.
#include "ltntf.h"
L_LTNTF_API L_INT L_NITFGetGraphicHeaderCount(hNitf)
Handle to an existing NITF file, created by calling the L_NITFCreate function.
| Value | Meaning |
|---|---|
| >= 0 | Numbers of graphic segments. |
| < 0 | An error occurred. Refer to Return Codes. |
To retrieve the graphic header information for a specific graphic segment, call the L_NITFGetGraphicHeader function.
To change the graphic header information for a specific graphic segment, call the L_NITFSetGraphicHeader function.
For an example, refer to L_NITFGetGraphicHeader.