L_NITFAppendGraphicSegment

#include "ltntf.h"

L_LTNTF_API L_INT L_NITFAppendGraphicSegment(hNitf, pVector, prcVecBounds)

HNITF hNitf;

/* handle to an existing NITF file */

 pVECTORHANDLE pVector;

/* pointer to a vector handle */

 

LPRECT prcVecBounds;

/* pointer to a RECT structure */

Appends a graphic data to the graphic segment inside the NITF file. This function is available in the Document Toolkit.

Parameter

Description

hNitf

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

pVector

 

Pointer to a  VECTORHANDLE that holds the graphic data to be added to the graphic segment into the NITF file.

prcVecBounds

Pointer to a RECT structure that specifies the bounding rectangle for the vector handle.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

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.

See Also

Functions:

L_NITFCreate, L_NITFAppendImageSegment, L_NITFAppendTextSegment

Topics:

NITF Functions: Appending Data to a NITF File

 

Programming with LEADTOOLS NITF Functions

Example

For an example, refer to L_NITFCreate.