|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > II > IImageServer4 Interface > IImageServer4.ComputeHistograms Method (ArcObjects .NET 10.5 SDK) | 
Computes histograms within an area of interest.
[Visual Basic .NET] Public Function ComputeHistograms ( _ ByVal pGeometry As IGeometry, _ ByVal pMosaicRule As IMosaicRule, _ ByVal pCellsize As IPoint, _ ByVal pRenderingRule As IRenderingRule _ ) As IRasterHistograms
[C#] public IRasterHistograms ComputeHistograms ( IGeometry pGeometry, IMosaicRule pMosaicRule, IPoint pCellsize, IRenderingRule pRenderingRule );
[C++]
HRESULT ComputeHistograms(
  IGeometry* pGeometry,
  IMosaicRule* pMosaicRule,
  IPoint* pCellsize,
  IRenderingRule* pRenderingRule,
  IRasterHistograms** ppHistograms
);
[C++]
Parameters pGeometry [in]
pGeometry is a parameter of type IGeometry pMosaicRule [in]
pMosaicRule is a parameter of type IMosaicRule pCellsize [in]
pCellsize is a parameter of type IPoint pRenderingRule [in]
pRenderingRule is a parameter of type IRenderingRule ppHistograms [out, retval]
ppHistograms is a parameter of type IRasterHistograms