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 > IImageServer3 Interface > IImageServer3.GenerateServiceInfo Method (ArcObjects .NET 10.5 SDK) |
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
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.