This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IA > IArea Interface > IArea.QueryLabelPoint Method (ArcObjects .NET 10.4 SDK) |
Copies to the input point a point guaranteed to be inside this area.
[Visual Basic .NET] Public Sub QueryLabelPoint ( _ ByVal LabelPoint As IPoint _ )
[C#] public void QueryLabelPoint ( IPoint LabelPoint );
[C++]
HRESULT QueryLabelPoint(
IPoint* LabelPoint
);
[C++]
Parameters LabelPoint
LabelPoint is a parameter of type IPoint
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.
IArea Interface | IArea.LabelPoint Property | IArea.QueryLabelPoint Method | IArea.Centroid Property | IArea.QueryCentroid Method