LNITFFile::Destroy

#include "ltwrappr.h"

L_INT LNITFFile::Destroy()

Destroys the class object, and releases all resources associated with it.

Returns

SUCCESS

The function was successful.

< 1

An error occurred. Refer to Return Codes.

Comments

A NITF file is created by calling the LNITFFile::Create function.

For each call to Create there must be a call to LNITFFile::Destroy.

This function should be called after calling any other LNITFFile::XXX function. It will clean up and free memory allocated to the LNITFFile object.

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:

LNITFFile::Create, LNITFFile::GetStatus, LNITFFile::SaveFile, LNITFFile::AppendImageSegment, LNITFFile::AppendGraphicSegment, LNITFFile::AppendTextSegment, LNITFFile::GetVector, LNITFFile::SetVector, LNITFFile::GetNITFHeader, LNITFFile::SetNITFHeader, LNITFFile::GetGraphicHeaderCount, LNITFFile::GetGraphicHeader, LNITFFile::SetGraphicHeader, LNITFFile::GetImageHeaderCount, LNITFFile::GetImageHeader, LNITFFile::SetImageHeader, LNITFFile::GetTextHeaderCount, LNITFFile::GetTextHeader, LNITFFile::SetTextHeader.

Topics:

NITF Functions: General Functionality.

 

Programming with LEADTOOLS NITF Functions.

Example

For an example, refer to LNITFFile::Create.