AcMapResourceService:: SetResourceData Method
Adds resource data to the specified resource.
virtual void SetResourceData( MgResourceIdentifier* resource, string dataName, string dataType, MgByteReader* data );
Parameters |
Description |
resource |
The identifier of the Resource to which this data is to be associated. |
dataName |
Name for the data. |
dataType |
Data type for the resource data. It must match one of the types defined in MgResourceDataType and is case sensitive. |
data |
Data to set. |
Remarks
In Map, this method is used for adding the configuration for raster layers only. Won't work for vector layers.
MgXX classes belong to the OsGeo.MapGuide namespace and are descibed in the Geospatial Platform Reference.
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].