Web API Reference
MapGuide Open Source
Overview
Modules
Classes
MgByteSource
GetMimeType
GetReader
MgByteSource
MgByteSource
SetMimeType
void MgByteSource::SetMimeType
(
CREFSTRING
mimeType
)
Sets the mime type of the data. See
MgMimeType
for list of supported mime types.
.NET Syntax
void SetMimeType(string mimeType);
Java Syntax
void SetMimeType(String mimeType);
PHP Syntax
void SetMimeType(string mimeType);
Parameters:
mimeType
(String/string) Mime type for byte source
Returns:
string representing the type, for example text/xml
Comments or suggestions? Send us
feedback
.