L_NITFGetGraphicHeaderCount

#include "ltntf.h"

L_LTNTF_API L_INT L_NITFGetGraphicHeaderCount(hNitf)

HNITF hNitf;

/* handle to an existing NITF file */

Retrieves the number of graphic segments in the hNitf handle.

Parameter

Description

hNitf

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

Returns

>= 0

Numbers of graphic segments.

< 0

An error occurred. Refer to Return Codes.

Comments

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.

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_NITFGetGraphicHeader, L_NITFSetGraphicHeader

Topics:

NITF Functions: Getting and Setting Header Information

 

Programming with LEADTOOLS NITF Functions

Example

For an example, refer to L_NITFGetGraphicHeader.