This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > II > IImageServer4 Interface > IImageServer4.Measure Method (ArcObjects .NET 10.4 SDK) |
Measures distance, angle, area, perimeter, and height.
[Visual Basic .NET] Public Function Measure ( _ ByVal pFrom As IGeometry, _ ByVal pTo As IGeometry, _ ByVal pMosaicRule As IMosaicRule, _ ByVal pCellsize As IPoint, _ ByVal operation As esriMensurationOperation _ ) As IImageServerMeasureResult
[C#] public IImageServerMeasureResult Measure ( IGeometry pFrom, IGeometry pTo, IMosaicRule pMosaicRule, IPoint pCellsize, esriMensurationOperation operation );
[C++]
HRESULT Measure(
IGeometry* pFrom,
IGeometry* pTo,
IMosaicRule* pMosaicRule,
IPoint* pCellsize,
esriMensurationOperation operation,
IImageServerMeasureResult** ppMeasureResult
);
[C++]
Parameters pFrom [in]
pFrom is a parameter of type IGeometry pTo [in]
pTo is a parameter of type IGeometry pMosaicRule [in]
pMosaicRule is a parameter of type IMosaicRule pCellsize [in]
pCellsize is a parameter of type IPoint operation [in]
operation is a parameter of type esriMensurationOperation ppMeasureResult [out, retval]
ppMeasureResult is a parameter of type IImageServerMeasureResult
Perform mensuration on an image service.