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


IImageServer3.GenerateServiceInfo Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > II > IImageServer3 Interface > IImageServer3.GenerateServiceInfo Method
ArcGIS Developer Help

IImageServer3.GenerateServiceInfo Method

Generates the image service information as if a given rendering rule is applied.

[Visual Basic .NET]
Public Function GenerateServiceInfo ( _
    ByVal pRenderingRule As IRenderingRule _
) As IImageServiceInfo
[C#]
public IImageServiceInfo GenerateServiceInfo (
    IRenderingRule pRenderingRule
);
[C++]
HRESULT GenerateServiceInfo(
  IRenderingRule* pRenderingRule
);
[C++]
Parameters
pRenderingRule [in]

pRenderingRule is a parameter of type IRenderingRule*

Product Availability

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

Remarks

This method is used together with GetImage to unpack the returned binary image data. When requesting an image with a rendering rule, the original service information, obtained using GetServiceInfo, may change once the raster function and renderer are applied to target service, e.g. pixel type, number of bands, and etc, depending the type of functions and renderers applied. The returned binary image from GetImage is formatted according to the new image service info.

See Also

IImageServer3 Interface