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

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

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 _
public void AddBarriers (
    esriBasicOverposterWeight Weight,
    IGeometryCollection Barriers
HRESULT AddBarriers(
  esriBasicOverposterWeight Weight,
  IGeometryCollection* Barriers
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