A SERVICE OF

logo

MGDwfDataSources Object | 133
When you change the Autodesk DWF file, you may also need to update
several other properties. These properties include: SheetName, KeyColumn,
KeyColumnType, NameColumn, UrlColumn, and LayerFilter.
Note If you do not include a path to the DWF file, this method assigns the first
one it finds in the search path.
For more information about using DWF files as data source for layers, see
“Setting Up a Data Source for DWF Files” on page 25.
Parameters
DWF – String representing the name of the Autodesk DWF file for the layer.
Returns
boolean – Specifies whether or not the DWF file is successfully set.
True – Indicates that the DWF file is successfully set.
False – Indicates that the DWF file is not set.
Error Codes
-1 Busy
See Also
getDwf, Dwf
Dwf Property
Syntax
Dwf
Description
Gets and sets the name of the Autodesk DWF file for the Autodesk DWF layer.
If this property is modified successfully, it automatically sets the rebuild flag
of the layer to True. For more information about the rebuild flag, see setRe-
build in the Autodesk MapGuide Viewer API Help. You can access the
MapGuide Viewer API Help by Autodesk MapGuide 6.5 Documentation
Autodesk MapGuide Viewer API Help on the Program menu.