Writes an object from a GSB file to a BNA, MIF/MID, SHP, or TAB file.
Syntax
intl pipExportWrite ( pipExporter exp_h, pstr name, intl
nameSize, intl *percent, intl *numObjectsRead );
Arguments
exp_h
The handle returned by pipExportInitBNA , pipExportInitMIF , pipExportInitShape , or pipExportInitTab for the current export process. Input.
name
The ID of the object being written (obtained from the GSB object file). Output.
nameSize
The maximum size of an object name to be saved in the name buffer. Input.
*percent
The percent of the object GSB file read so far. Output.
*numObjectsRead
The number of objects read from the current GSB file so far. Output.
Return Value
PIP_OK
PIP_ERROR
Prerequisites
pipExportOpen
Alternates
pipImportRead
Notes
This function reads an object from a GSB file and writes it to a BNA, MIF, SHP, or TAB file. The object to be written is identified by its ID.
A GSB file contains Spatial+ objects. The supported structure of an ESRI BNA file is detailed in ESRI BNA Format, and the MapInfo MIF/MID format is discussed in MapInfo® MIF/MID Format.
The name, percent, and numObjectsRead parameters are provided to facilitate building a "percent complete" meter or to provide meaningful diagnostic messages.
Example
See pipExportInitMIF