Polygon Method (CoordinateSystem)
Creates a geographic polygon.
Namespace: System.Spatial
Assembly: System.Spatial (in System.Spatial.dll)
Syntax
'Declaration
Public Shared Function Polygon ( _
coordinateSystem As CoordinateSystem _
) As GeographyFactory(Of GeographicPolygon)
'Usage
Dim coordinateSystem As CoordinateSystem
Dim returnValue As GeographyFactory(Of GeographicPolygon)
returnValue = GeographyFactory.Polygon(coordinateSystem)
public static GeographyFactory<GeographicPolygon> Polygon(
CoordinateSystem coordinateSystem
)
public:
static GeographyFactory<GeographicPolygon^>^ Polygon(
CoordinateSystem^ coordinateSystem
)
static member Polygon :
coordinateSystem:CoordinateSystem -> GeographyFactory<GeographicPolygon>
public static function Polygon(
coordinateSystem : CoordinateSystem
) : GeographyFactory<GeographicPolygon>
Parameters
- coordinateSystem
Type: System.Spatial..::..CoordinateSystem
The coordinate system.
Return Value
Type: System.Spatial..::..GeographyFactory< (Of < ( <'GeographicPolygon> ) > ) >
A geographic polygon factory.