AutoCAD Map 3D 2009 Geospatial Platform Reference

AutoCAD Map 3D Geospatial Platform API

MgByteReader::MgByteReader ( CREFSTRING  fileName,
CREFSTRING  mimeType,
bool  removeFile 
)

Creates a byte reader from a file.

.NET Syntax
MgByteReader(string fileName, string mimeType, bool removeFile);
Java Syntax
MgByteReader(String fileName, String mimeType, bool removeFile);
PHP Syntax
MgByteReader(string fileName, string mimeType, bool removeFile);

Parameters:
fileName (string/String/string) Name of file on disk.
mimeType (string/String/string) Mime type for content
removeFile (bool) Remove file when byte reader is deleted
Returns:
Returns nothing