L_NITFSetGraphicHeader

#include "ltntf.h"

L_LTNTF_API L_INT L_NITFSetGraphicHeader(hNitf, uIndex, pGraphicsHeader)

HNITF hNitf;

handle to an existing NITF file

L_UINT uIndex;

index of the graphics data

pGRAPHICHEADER pGraphicsHeader;

pointer to a GRAPHICHEADER structure

Changes the graphic header information of a specific graphic segment.

Parameter

Description

hNitf

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

uIndex

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

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

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

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 API Help