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


rstPixelType Constants (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

rstPixelType Constants

Supported raster pixel types.

Constant Value Description
PT_UNKNOWN -1 Pixel values are unknown.
PT_U1 0 Pixel values are 1 bit.
PT_U2 1 Pixel values are 2 bits.
PT_U4 2 Pixel values are 4 bits.
PT_UCHAR 3 Pixel values are unsigned 8 bit integers.
PT_CHAR 4 Pixel values are 8 bit integers.
PT_USHORT 5 Pixel values are unsigned 16 bit integers.
PT_SHORT 6 Pixel values are 16 bit integers.
PT_ULONG 7 Pixel values are unsigned 32 bit integers.
PT_LONG 8 Pixel values are 32 bit integers.
PT_FLOAT 9 Pixel values are single precision floating point.
PT_DOUBLE 10 Pixel values are double precision floating point.
PT_COMPLEX 11 Pixel values are single precsion complex.
PT_DCOMPLEX 12 Pixel values are double precision complex.
PT_CSHORT 13 Pixel values are short integer complex.
PT_CLONG 14 Pixel values are long integer complex.

Product Availability

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

See Also

PixelBlock Class | IRasterProps Interface

.NET Samples

Create a custom raster type from the ground up for DMCII data (Code Files: TestDMCIIRasterType) | Create a Mosaic dataset (Code Files: CreateMosaicDataset) | Create an NDVI custom raster function (Code Files: NDVICustomFunction) | Create a custom raster function (Code Files: WatermarkFunction)