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


IMaplexOverposter.AddBarriers Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Maplex)  

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

IMaplexOverposter Interface