L_NITFSetGraphicHeader

Summary

Changes the graphic header information of a specific graphic segment.

Syntax

#include "ltntf.h"

L_LTNTF_API L_INT L_NITFSetGraphicHeader(hNitf, uIndex, pGraphicsHeader)

Parameters

HNITF hNitf

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

L_UINT uIndex

A zero-based index of the graphic segment in the hNitf handle 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 hNitf handle, call the L_NITFGetGraphicHeaderCount function.

To retrieve the graphic header for a specific graphic segment, call the L_NITFGetGraphicHeader function.

Required DLLs and Libraries

See Also

Functions

Topics

Example

For an example, refer to L_NITFGetGraphicHeader.

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

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