LNITFFile::SetGraphicHeader

Summary

Changes the graphic header information of a specific graphic segment.

Syntax

#include "ltwrappr.h"

L_INT LNITFFile::SetGraphicHeader(uIndex, pGraphicsHeader)

Parameters

L_UINT uIndex

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

pGRAPHICHEADER pGraphicsHeader

Pointer to a GRAPHICHEADER structure that contains the new graphic header information to set in the graphic 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 retrieve the number of the graphic segments in the NITF file, call the LNITFFile::GetGraphicHeaderCount function.

To retrieve the graphic header for a specific graphic segment, call the LNITFFile::GetGraphicHeader function.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to LNITFFile::GetGraphicHeader.

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

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