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


IRasterRenderer.CanRender Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IRasterRenderer.CanRender Method

Indicates if the raster can be rendered.

[Visual Basic .NET]
Public Function CanRender ( _
    ByVal Raster As IRaster _
) As Boolean
[C#]
public bool CanRender (
    IRaster Raster
);
[C++]
HRESULT CanRender(
  IRaster* Raster,
  VARIANT_BOOL* pCanRender
);
[C++]

Parameters Raster [in]
Raster is a parameter of type IRaster pCanRender [out, retval] pCanRender is a parameter of type VARIANT_BOOL

Product Availability

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

See Also

IRasterRenderer Interface