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