A SERVICE OF

logo

MGDwgDataSources Object | 117
Parameters
none
Return Values
boolean – Specifies whether or not closed polylines are treated as polygons.
True – Indicates that closed polylines are treated as polygons.
False – Indicates that closed polylines are not treated as polygons. They are
treated as individual polylines and are displayed on a polyline layer.
Error Codes
Parameters
-15 (DoesNotApply)
See Also
setTreatClosedPolylinesAsPolygons, TreatClosedPolylinesAsPolygons
setTreatClosedPolylinesAsPolygons Method
Syntax
boolean setTreatClosedPolylinesAsPolygons(Boolean
treatClosedPolylinesAsPolygons)
Description
Sets how polygon layers that are created from DWG data should treat closed
polylines. A value of True indicates that closed polylines are treated as poly-
gons. A value of False indicates that closed polylines are treated as individual
polylines, not as polygons.
Note If this method is set to False, and closed polylines are treated as polylines
instead of polygons, the polylines appear on a polyline layer instead of the poly-
gon layer.
For more information about how closed polylines are treated on polygon
layers created from DWG sources, see Chapter ? on page ?.