L_NITFAppendTextSegment

#include "ltntf.h"

L_LTNTF_API L_INT L_NITFAppendTextSegment(hNitf, pszFileName)

HNITF hNitf;

/* handle to an existing NITF file */

L_TCHAR * pszFileName;

/* text file name */

Appends text data to the text segment inside the NITF file.

Parameter

Description

hNitf

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

pszFileName

Character string that contains the name of the text file to be added as data to the text segment into the NITF file.

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_NITFAppendGraphicSegment

Topics:

NITF Functions: Appending Data to a NITF File

 

Programming with LEADTOOLS NITF Functions

Example

For an example, refer to L_NITFCreate.