MGDwfDataSources Object | 149
See Also
setSheetName, getSheetName
setSheetName Method
Syntax
boolean setSheetName(String sheetName)
Description
Sets the name of the DWF sheet that contains the map features on this
Autodesk DWF layer.
DWF files consist of a number of sheets, each of which can contain a view of
a different DWG file or a different view of the same DWG file, for example a
layout with different layers turned on or off.
If this method is successful, it sets the rebuild flag of the layer to True. Form
more information on the rebuild flag, see setRebuild in the Autodesk
MapGuide Viewer API Help. You can access the MapGuide Viewer API Help
by clicking Autodesk MapGuide 6.5 ➤ Documentation ➤ Autodesk
MapGuide Viewer API Help on the Program menu.
For more information about using DWF sheets, see “How DWFs are
Published in Autodesk Map” on page 28 and “Creating a Layer from a DWF
File Sheet” on page 29.
Parameters
sheetName – String (comma-delimited) representing the name of the sheet
that contains the map features for this DWF layer.
Returns
boolean – Specifies whether or not the sheet name is successfully set.
True – Indicates that the name is successfully set.
False – Indicates that the name is not set.
Error Codes
-1 Busy