This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IG > IGridLabel Interface > IGridLabel.QueryTextExtent Method (ArcObjects .NET 10.4 SDK) |
Determines the extent of a label's text on the specified grid axis.
[Visual Basic .NET] Public Sub QueryTextExtent ( _ ByVal LabelValue As Double, _ ByVal Location As IPoint, _ ByVal axis As esriGridAxisEnum, _ ByVal Display As IDisplay, _ ByVal Extent As IEnvelope _ )
[C#] public void QueryTextExtent ( double LabelValue, IPoint Location, esriGridAxisEnum axis, IDisplay Display, IEnvelope Extent );
[C++]
HRESULT QueryTextExtent(
double LabelValue,
IPoint* Location,
esriGridAxisEnum axis,
IDisplay* Display,
IEnvelope* Extent
);
[C++]
Parameters LabelValue [in] LabelValue is a parameter of type double Location [in]
Location is a parameter of type IPoint axis [in]
axis is a parameter of type esriGridAxisEnum Display [in]
Display is a parameter of type IDisplay Extent
Extent is a parameter of type IEnvelope