LNITFFile::SetTextHeader

#include "ltwrappr.h"

L_INT LNITFFile::SetTextHeader(uIndex, pTxtHeader)

Changes the text header information of a specific text segment.

Parameters

L_UINT uIndex

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

pTXTHEADER pTxtHeader

Pointer to a TXTHEADER structure that contains the new text header information to set in the text segment in the NITF file at the specified index uIndex.

Returns

Value Meaning
SUCCESS The function was successful.
< 1 An error occurred. Refer to Return Codes.

Comments

To get the number of the text segments in the NITF file, call the LNITFFile::GetTextHeaderCount function.

To retrieve the text header for a specific text segment, call the LNITFFile::GetTextHeader function.

Required DLLs and Libraries

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS NITF C++ Class Library Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.