ET GeoWizards Scripting
Polygon To Point
(Go to the main page of the
function)
Converts a polygon data set to a point feature class.
Syntax
Dim ET As New ETGW_Core
Set variable = ET.PolygonToPoint(pInFeatureClass, sOutFileName,
sExportOption, bRemoveDuplicates)
The PolygonToPoint 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) |
| sExportOption | Required. A String - the export option to
be used. The available options are (Case
sensitive):
|
| bRemoveDuplicates | Required. A Boolean used only with sExportOption = "Vertex". If True the duplicate points representing coincident vertices of two or more adjacent polygons will be removed. |