AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

void MgByteReader::ToFile ( CREFSTRING  fileName  ) 

Writes the the contents of the reader to a file.

.NET Syntax
void ToFile(string fileName);
Java Syntax
void ToFile(String fileName);
PHP Syntax
void ToFile(string fileName);

Returns:
Returns nothing
Exceptions:
MgFileIoException is thrown if file cannot be written