ET GeoWizards Scripting
Polygon To Polyline Advanced
(Go to the main page of the
function)
Converts the polygon boundaries to polylines.
Syntax
Dim ET As New ETGW_Core
Set variable =
ET.PolygonToPolylineAdvanced(pInFeatureClass,
sOutFileName,fTol, sLinkField, bLabels, _
sLabelsFName, pLabelFeatureClass, sMessage)
The PolygonToPolylineAdvanced method syntax has the following object qualifier and arguments:
| Part | Description |
|---|---|
| variable | An IFeatureClass object |
| pInFeatureClass | Required. An IFeatureClass object (Must be a Polygon feature class) |
| sOutFileName | Required. A String - the full name of the output feature class (A feature class with the same full name should not exist) |
| fTol | Required. A Double representing the Fuzzy tolerance (in the units of the input dataset) to be used |
| sLinkField | Required. A String representing a field name. The field must exists in the input feature class. The type of the field can be Short Integer , Long Integer, Double, Single, String or Object ID. The values of this field will be saved as Left and Right polygons for each polyline |
| bLabels | Required. A Boolean. If TRUE a point feature class representing the labels of the polygons in the pInFeatureClass will be created |
| sLabelsFName | Optional. A String - the full name of the labels feature class (A feature class with the same full name should not exist) |
| pLabelFeatureClass | Optional. An IFeatureClass object. Returns the labels feature class |
| sMessage | Optional. In a case of failure - description of the cause. If the functions completes with success an empty string will be returned. |