L_NITFSaveFile

#include "ltntf.h"

L_LTNTF_API L_INT L_NITFSaveFile(hNitf, pszFileName)

HNITF hNitf;

/* handle to an existing NITF file */

L_TCHAR * pszFileName;

/* output file name */

Saves all segments in the hNitf handle to a NITF file format. This function is available in the Document Toolkit.

Parameter

Description

hNitf

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

pszFileName

Character string that contains the output file name.

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

Topics:

NITF Functions: General Functionality

 

Programming with LEADTOOLS NITF Functions

Example

For an example, refer to L_NITFCreate.