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,
IImageServiceInfo** ppServiceInfo
);
[C++]Parameters
pRenderingRule [in]pRenderingRule is a parameter of type IRenderingRule
ppServiceInfo [out, retval]ppServiceInfo is a parameter of type IImageServiceInfo
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.