LNITFFile::SetNITFHeader

#include "ltwrappr.h"

L_INT LNITFFile::SetNITFHeader(pNITFHeader)

pNITFHEADER pNITFHeader;

/* pointer to a NITFHEADER structure */

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

Parameter

Description

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 LNITFFile::GetNITFHeader 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:

LNITFFile::Create, LNITFFile::Destroy, LNITFFile::GetStatus, LNITFFile::SaveFile, LNITFFile::AppendImageSegment, LNITFFile::AppendGraphicSegment, LNITFFile::AppendTextSegment, LNITFFile::GetVector, LNITFFile::SetVector, LNITFFile::GetNITFHeader, LNITFFile::GetGraphicHeaderCount, LNITFFile::GetGraphicHeader, LNITFFile::SetGraphicHeader, LNITFFile::GetImageHeaderCount, LNITFFile::GetImageHeader, LNITFFile::SetImageHeader, LNITFFile::GetTextHeaderCount, LNITFFile::GetTextHeader, LNITFFile::SetTextHeader.

Topics:

NITF Functions: Getting and Setting Header Information.

 

Programming with LEADTOOLS NITF Functions.

Example

For an example, refer to LNITFFile::GetNITFHeader