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


IImageServer3.GetRasterInfo Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IImageServer3.GetRasterInfo Method

Gets the image information of a given raster catalog item.

[Visual Basic .NET]
Public Function GetRasterInfo ( _
    ByVal RID As Integer _
) As IRasterInfo
[C#]
public IRasterInfo GetRasterInfo (
    int RID
);
[C++]
HRESULT GetRasterInfo(
  long RID,
  IRasterInfo** ppRasterInfo
);
[C++]

Parameters RID [in] RID is a parameter of type long ppRasterInfo [out, retval]
ppRasterInfo is a parameter of type IRasterInfo

Product Availability

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

Remarks

The RasterInfo object completely describes an image. It contains information on (1) image tiling scheme, including tile origin, pixel size, and tile size; (2) image properties including number of columns and rows, number of bands, pixel type, NoData value, and etc; (3) georeferencing and orientation information including native extent and native spatial reference, extent, and Geodata transformation.

See Also

IImageServer3 Interface