IPixelBlock2 Interface

Provides access to members that control a PixelBlock.

Members

Name Description
Read-only property BytesPerPixel The number of bytes per pixel for the PixelBlock.
Method GetVal The value for a specified pixel.
Read-only property Height The height of the PixelBlock in pixels.
Read/write property PixelType The pixel type of the PixelBlock.
Read-only property Planes The number of pixel arrays contained in the PixelBlock.
Read-only property SafeArrayByRef A variant SafeArray of pixels for a specified plane.
Read-only property Width The width of the PixelBlock in pixels.

IPixelBlock2.BytesPerPixel Property

The number of bytes per pixel for the PixelBlock.

Public ReadOnly Property BytesPerPixel As Integer
public int BytesPerPixel {get;}

IPixelBlock2.GetVal Method

The value for a specified pixel.

Public Function GetVal ( _
    ByVal plane As Integer, _
    ByVal x As Integer, _
    ByVal y As Integer _
) As Object
public object GetVal (
    int plane,
    int x,
    int y
);

IPixelBlock2.Height Property

The height of the PixelBlock in pixels.

Public ReadOnly Property Height As Integer
public int Height {get;}

IPixelBlock2.PixelType Property

The pixel type of the PixelBlock.

Public Function get_PixelType ( _
    ByVal plane As Integer _
) As rstPixelType
Public Sub set_PixelType ( _
    ByVal plane As Integer, _
    ByVal pVal As rstPixelType _
)
public rstPixelType get_PixelType (
    int plane
);
public void set_PixelType (
    int plane,
    rstPixelType pVal
);

IPixelBlock2.Planes Property

The number of pixel arrays contained in the PixelBlock.

Public ReadOnly Property Planes As Integer
public int Planes {get;}

IPixelBlock2.SafeArrayByRef Property

A variant SafeArray of pixels for a specified plane.

Public Function get_SafeArrayByRef ( _
    ByVal plane As Integer _
) As Object
public object get_SafeArrayByRef (
    int plane
);

IPixelBlock2.Width Property

The width of the PixelBlock in pixels.

Public ReadOnly Property Width As Integer
public int Width {get;}

Classes that implement IPixelBlock2

Classes Description
PixelBlock Esri PixelBlock, a container of pixel data.

Remarks

Recomment to use IPixelBlock3 interface.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.