Autodesk 15607-010000-5000A Manuale Utente

Pagina di 180
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.
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