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

IPixelBlock2.BytesPerPixel Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > DataSourcesRaster > ESRI.ArcGIS.DataSourcesRaster > Interfaces > IP > IPixelBlock2 Interface > IPixelBlock2.BytesPerPixel Property
ArcGIS Developer Help

IPixelBlock2.BytesPerPixel Property

The number of bytes per pixel for the PixelBlock.

[Visual Basic .NET]
Public ReadOnly Property BytesPerPixel As Integer
public int BytesPerPixel {get;}
HRESULT get_BytesPerPixel(
  System.Int32* pVal
pVal [out, retval]

pVal is a parameter of type long*

Product Availability

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

See Also

IPixelBlock2 Interface