This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Maplex > ESRI.ArcGIS.Maplex > Interfaces > IM > IMaplexOverposter Interface > IMaplexOverposter.AddBarriers Method (ArcObjects .NET 10.5 SDK) |
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