LNITFFile::GetTextHeaderCount

#include "ltwrappr.h"

L_INT LNITFFile::GetTextHeaderCount()

Retrieves the number of the text segments in the NITF file. This function is available in the Document Toolkit.

Returns

>= 0

Number of text segments.

< 0

An error occurred. Refer to Return Codes.

Comments

To retrieve the text header information for a specific text segment, call the LNITFFile::GetTextHeader function.

To change the text header information for a specific text segment, call the LNITFFile::SetTextHeader 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.

See Also

Functions:

LNITFFile::Create, LNITFFile::Destroy, 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::GetTextHeader, LNITFFile::SetTextHeader.

Topics:

NITF Functions: Getting and Setting Header Information.

 

Programming with LEADTOOLS NITF Functions.

Example

For an example, refer to LNITFFile::GetTextHeader.