Click or drag to resize

GM_LoadGenericAsciiTextLayer

Loads the given ASCII text file and fills in aLayer with the handle to the layer. The layer handle can be used in other calls into the library. The layer must be closed by calling GM_CloseLayer when the caller is done using it.

The format of the ASCII text file being loaded is described with the aFormatInfo structure provided. If NULL is passed for that structure, a dialog will appear prompting the user for the layout information.

Syntax
GM_Error_t32 GM_LoadGenericAsciiTextLayer
( 
const char*                 aFilename,  // IN: filename of ASCII file to load
GM_LayerHandle_t32*         aLayer,     // OUT: layer handle for loaded layer
GM_LoadFlags_t32            aLoadFlags, // IN: load flags
const GM_AsciiFormatInfo_t* aFormatInfo,// IN: optional format info (use NULL to prompt user)
const GM_Projection_t*      aProj       // IN: optional projection to use for file (use NULL to prompt user)
);