ArcObjects Library Reference (DefenseSolutions)  

IGeoPolygon.Polygon Property

The base polygon for the GeoPolygon object.

ERROR: Syntax information about IGeoPolygon.Polygon may not be in D:\ArcGIS\DotNet\ESRI.ArcGIS.DefenseSolutions.dll

[C++]
HRESULT get_Polygon(
  IPolygon** ppiPolygon
);
[C++]
HRESULT put_Polygon(
  IPolygon* ppiPolygon
);
[C++]

Parameters

ppiPolygon [out, retval]

  ppiPolygon is a parameter of type IPolygon

ppiPolygon [in]

  ppiPolygon is a parameter of type IPolygon

Product Availability

Available with ArcGIS Engine and ArcGIS Desktop.

Remarks

The Polygon object must have a defined spatial reference in order for the GeoPolygon to function properly. See the following VB snippet for an example of how to set the IGeoPolygon::Polygon property.

Dim pPolygon As IPolygon
Dim pGeoPolygon As IGeoPolygon
Set pPolygon = New Polygon
Set pPolygon.SpatialReference = pSpatialReference  'an ISpatialReference object
Set pGeoPolygon = New GeoPolygon
pGeoPolygon.Polygon = pPolygon

See Also

IGeoPolygon Interface

.NET Samples

Geodesy MapControl (Code Files: GeodesyMapControl) |