This document is archived and information here might be outdated. Recommended version. |
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*
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.