ArcGIS Enterprise SDK
IArea.QueryLabelPoint Method
ArcGIS Developer Help

IArea.QueryLabelPoint Method

Copies to the input point a point guaranteed to be inside this area.

[Visual Basic .NET]
Public Sub QueryLabelPoint ( _
    ByVal LabelPoint As IPoint _
public void QueryLabelPoint (
    IPoint LabelPoint


Queries the Label Point of the object.  The Label Point is the point at which the label is located.  The Label Point is always located within the Area of the object. You must instantiate the point before calling QueryLabelPoint. For example,

Dim pPoint as IPoint
Set pPoint = New Point


Note: The output geometry must be co-created prior to the query. The output geometry is not co-created by the method; it is populated. This can be used in performance critical situations. For example, creating the geometry only once outside a loop and use the query method could improve performance.

See Also

IArea Interface