ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.Data.Raster Namespace / PixelBlock Class / GetBytesPerPixel Method

In This Topic
    GetBytesPerPixel Method
    In This Topic
    Gets the number of bytes per pixel for this pixel block. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    Public Function GetBytesPerPixel() As Integer
    public int GetBytesPerPixel()

    Return Value

    An integer representing the number of bytes per pixel for this pixel block.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also