IOverposter2.AddBarriers Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IOverposter2.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

IOverposter2 Interface