L_NITFSetNITFHeader

#include "ltntf.h"

L_LTNTF_API L_INT L_NITFSetNITFHeader(hNitf, pNITFHeader)

HNITF hNitf;

/* handle to an existing NITF file */

pNITFHEADER pNITFHeader;

/* pointer to a NITFHEADER structure */

Changes the NITF file header information for an NITF file created by calling L_NITFCreate function. This function is available in the Document Toolkit.

Parameter

Description

hNitf

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

pNITFHeader

Pointer to an NITFHEADER structure that contains the new NITF header information to set for the specified NITF file.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

To retrieve the NITF file header information, call the L_NITFGetNITFHeader 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_NITFGetNITFHeader

Topics:

NITF Functions: Getting and Setting Header Information

 

Programming with LEADTOOLS NITF Functions

Example

For an example, refer to L_NITFGetNITFHeader.