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


IMapBarriers.Barriers2 Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

IMapBarriers.Barriers2 Property

The list of barriers and their weight for labeling.

[Visual Basic .NET]
Public Function get_Barriers2 ( _
    ByVal pExtent As IEnvelope, _
    ByVal pTrackCancel As ITrackCancel _
) As IBarrierCollection
[C#]
public IBarrierCollection get_Barriers2 (
    IEnvelope pExtent,
    ITrackCancel pTrackCancel
);
[C++]
HRESULT get_Barriers2(
  IEnvelope* pExtent,
  ITrackCancel* pTrackCancel,
  IBarrierCollection** Barriers
);
[C++]

Parameters pExtent
pExtent is a parameter of type IEnvelope pTrackCancel [in]
pTrackCancel is a parameter of type ITrackCancel Barriers [out, retval]
Barriers is a parameter of type IBarrierCollection

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IMapBarriers Interface