GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / GetPixelArrayByte Method
GdPicture image identifier.
Output parameter. Array of pixel data.
The left source pixel of the area.
The top source pixel of the area.
The width of the area in pixel.
The height of the area in pixel.





In This Topic
GetPixelArrayByte Method (GdPictureImaging)
In This Topic
Stores into an array of byte each Blue, Green, Red and Alpha components of the pixel contained into an area of a GdPicture image.
Syntax
'Declaration
 
Public Function GetPixelArrayByte( _
   ByVal ImageID As Integer, _
   ByRef Data() As Byte, _
   ByVal SrcLeft As Integer, _
   ByVal SrcTop As Integer, _
   ByVal Width As Integer, _
   ByVal Height As Integer _
) As GdPictureStatus
public GdPictureStatus GetPixelArrayByte( 
   int ImageID,
   ref byte[] Data,
   int SrcLeft,
   int SrcTop,
   int Width,
   int Height
)
public function GetPixelArrayByte( 
    ImageID: Integer;
   var  Data: Bytearray of;
    SrcLeft: Integer;
    SrcTop: Integer;
    Width: Integer;
    Height: Integer
): GdPictureStatus; 
public function GetPixelArrayByte( 
   ImageID : int,
   Data : byte[],
   SrcLeft : int,
   SrcTop : int,
   Width : int,
   Height : int
) : GdPictureStatus;
public: GdPictureStatus GetPixelArrayByte( 
   int ImageID,
   ref byte[]* Data,
   int SrcLeft,
   int SrcTop,
   int Width,
   int Height
) 
public:
GdPictureStatus GetPixelArrayByte( 
   int ImageID,
   array<byte>^% Data,
   int SrcLeft,
   int SrcTop,
   int Width,
   int Height
) 

Parameters

ImageID
GdPicture image identifier.
Data
Output parameter. Array of pixel data.
SrcLeft
The left source pixel of the area.
SrcTop
The top source pixel of the area.
Width
The width of the area in pixel.
Height
The height of the area in pixel.

Return Value

A member of the GdPictureStatus enumeration. A member of the GdPictureStatus enumeration.
See Also