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
ExtentExtent is a parameter of type IEnvelope
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.