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


ILabelCache.GetPlacedLabel Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

ILabelCache.GetPlacedLabel Method

Retrieve a placed label from the label cache.

[Visual Basic .NET]
Public Sub GetPlacedLabel ( _
    ByVal Index As Integer, _
    ByRef classID As Integer, _
    ByRef Label As String, _
    ByRef geom As IGeometry, _
    ByRef Angle As Double, _
    ByRef AnchorPoint As IPoint, _
    ByRef mbr As IEnvelope _
)
[C#]
public void GetPlacedLabel (
    int Index,
    ref int classID,
    ref string Label,
    ref IGeometry geom,
    ref double Angle,
    ref IPoint AnchorPoint,
    ref IEnvelope mbr
);
[C++]
HRESULT GetPlacedLabel(
  long Index,
  long* classID,
  BSTR* Label,
  IGeometry** geom,
  double* Angle,
  IPoint** AnchorPoint,
  IEnvelope** mbr
);
[C++]

Parameters Index [in] Index is a parameter of type long classID [out] classID is a parameter of type long Label [out] Label is a parameter of type BSTR geom [out]
geom is a parameter of type IGeometry Angle [out] Angle is a parameter of type double AnchorPoint [out]
AnchorPoint is a parameter of type IPoint mbr [out]
mbr is a parameter of type IEnvelope

Product Availability

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

See Also

ILabelCache Interface