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


ILabelCache.AddLabel Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Carto)  

ILabelCache.AddLabel Method

Add a label to the label cache.

[Visual Basic .NET]
Public Sub AddLabel ( _
    ByVal placedObject As IPlacedObject3, _
    ByVal AnchorPoint As IPoint, _
    ByVal pEnvelope As IEnvelope _
)
[C#]
public void AddLabel (
    IPlacedObject3 placedObject,
    IPoint AnchorPoint,
    IEnvelope pEnvelope
);
[C++]
HRESULT AddLabel(
  IPlacedObject3* placedObject,
  IPoint* AnchorPoint,
  IEnvelope* pEnvelope
);
[C++]

Parameters placedObject [in]
placedObject is a parameter of type IPlacedObject3 AnchorPoint [in]
AnchorPoint is a parameter of type IPoint pEnvelope [in]
pEnvelope is a parameter of type IEnvelope

Product Availability

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

See Also

ILabelCache Interface