This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IO > IOverposter2 Interface > IOverposter2.AddBarriers Method (ArcObjects .NET 10.4 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