This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IR > IRasterCatalogRendererPicker Interface > IRasterCatalogRendererPicker.Pick Method (ArcObjects .NET 10.5 SDK) |
Chooses the renderers from a given list.
[Visual Basic .NET] Public Function Pick ( _ ByVal pRenderers As IArray, _ ByVal pRasterDataset As IRasterDataset _ ) As IRasterRenderer
[C#] public IRasterRenderer Pick ( IArray pRenderers, IRasterDataset pRasterDataset );
[C++]
HRESULT Pick(
IArray* pRenderers,
IRasterDataset* pRasterDataset,
IRasterRenderer** ppRenderer
);
[C++]
Parameters pRenderers [in]
pRenderers is a parameter of type IArray pRasterDataset [in]
pRasterDataset is a parameter of type IRasterDataset ppRenderer [out, retval]
ppRenderer is a parameter of type IRasterRenderer
The Pick method sets the rules for rendering raster datasets in a raster catalog. This is where you can apply your own rendering rules. Based on the property of the input raster dataset, you need to return a renderer from the available renderers.