AcMapResourceService::GetResourceData Method

Autodesk GIS Map Platform

AcMapResourceService:: GetResourceData Method

Returns named data for the specified resource.

virtual MgByteReader* GetResourceData(
    MgResourceIdentifier* resource, 
    string dataName
);
Parameters 
Description 
resource 
The resource for which the Raster resource data will be obtained.  
dataName 
Name for data (as specified when the data was set via SetResourceData)  
Returns

Returns an MgByteReader object containing the Raster resource data.

Remarks

This method works for raster layers only in Map.

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].