This document is archived and information here might be outdated.  Recommended version.


IOverposter.AddBarriers Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IO > IOverposter Interface > IOverposter.AddBarriers Method
ArcGIS Developer Help

IOverposter.AddBarriers Method

Adds a barrier object that placed objects must avoid.

[Visual Basic .NET]
Public Sub AddBarriers ( _
    ByVal Weight As esriBasicOverposterWeight, _
    ByVal Barriers As IGeometryCollection _
)
[C#]
public void AddBarriers (
    esriBasicOverposterWeight Weight,
    IGeometryCollection Barriers
);
[C++]
HRESULT AddBarriers(
  esriBasicOverposterWeight Weight,
  IGeometryCollection* Barriers
);
[C++]
Parameters
Weight [in]

Weight is a parameter of type esriBasicOverposterWeight Barriers [in]
Barriers is a parameter of type IGeometryCollection*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IOverposter Interface