LNITFFile::SetImageHeader

#include "ltwrappr.h"

L_INT LNITFFile::SetImageHeader(uIndex, pImageHeader)

L_UINT uIndex;

index of the Image segment

pIMAGEHEADER pImageHeader;

pointer to an IMAGEHEADER structure

Changes the image header information of a specific image segment.

Parameter

Description

uIndex

A zero-based index of the image segment in the NITF file to be changed with the new image header information.

pImageHeader

Pointer to an IMAGEHEADER structure that contains the new image header information to set in the image segment in the NITF file at the specified index uIndex.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

To retrieve the number of the image segments in the NITF file, call the LNITFFile::GetImageHeaderCount function.

To retrieve the image header for a specific image segment, call the LNITFFile::GetImageHeader 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.

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
LEADTOOLS NITF C++ Class Library Help