Creates and opens a BNA file for writing; initializes the export subsystem.
Syntax
intl pipExportInitBNA ( pipHandle h, pstr outputFileName,
pipExporter *exp_h);
Arguments
h
The handle returned by pipInit for the current instance of Spatial+. Input.
outputFileName
The path and filename of the output BNA file to generate. Input.
*exp_h
The export handle returned by the function. This handle should be used by all other pipExport functions. Output.
Return Value
PIP_OK
PIP_ERROR
Prerequisites
pipInit
Alternates
pipExportInitShape, pipExportInitTab or pipExportInitMIF.
Notes
You must call pipExportInitBNA before pipExportInsert or pipExportOpen.
This function creates and opens a BNA file. This file stores exported standalone objects or exported objects from GSB (Spatial+ object) files. (See ESRI BNA Format for a complete description of the BNA file format.)
This function returns a pipExporter handle via a pointer. This handle should be used instead of pipHandle as input for the other pipExport_ functions (pipExportInitMIF, pipExportInitShape, and pipExportInitTab excepted).
Example
See pipExportInitMIF