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


rstPixelType Constants (ArcObjects .NET 10.6 SDK)
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Constants > R > rstPixelType Constants (ArcObjects .NET 10.6 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.
PT_DATA8 15 Pixel values are 8-Byte data.
PT_DATA10 16 Pixel values are 10-Byte data.
PT_DATA12 17 Pixel values are 12-Byte data.
PT_DATA16 18 Pixel values are 16-Byte data.
PT_DATA20 19 Pixel values are 20-Byte data.
PT_DATA24 20 Pixel values are 24-Byte data.
PT_DATA32 21 Pixel values are 32-Byte data.
PT_DATA36 22 Pixel values are 36 byte data.

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)