This document is archived and information here might be outdated.  Recommended version.


IImageServer4.Measure Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IImageServer4.Measure Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Perform mensuration on an image service.

See Also

IImageServer4 Interface