GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / SetPixelArrayByte8bpp Method
GdPicture image identifier.
Array of pixel indexes. each entry of the array is a reference to a palette index [0 - 255].
The left destination pixel of the area.
The top destination pixel of the area.
The width of the area in pixel.
The height of the area in pixel.





In This Topic
SetPixelArrayByte8bpp Method (GdPictureImaging)
In This Topic
Set pixel indexes from an array of bytes to an area of a paletized 8bpp GdPicture image.
Syntax
'Declaration
 
Public Function SetPixelArrayByte8bpp( _
   ByVal ImageID As Integer, _
   ByVal Data() As Byte, _
   ByVal DstLeft As Integer, _
   ByVal DstTop As Integer, _
   ByVal Width As Integer, _
   ByVal Height As Integer _
) As GdPictureStatus
public GdPictureStatus SetPixelArrayByte8bpp( 
   int ImageID,
   byte[] Data,
   int DstLeft,
   int DstTop,
   int Width,
   int Height
)
public function SetPixelArrayByte8bpp( 
    ImageID: Integer;
    Data: Bytearray of;
    DstLeft: Integer;
    DstTop: Integer;
    Width: Integer;
    Height: Integer
): GdPictureStatus; 
public function SetPixelArrayByte8bpp( 
   ImageID : int,
   Data : byte[],
   DstLeft : int,
   DstTop : int,
   Width : int,
   Height : int
) : GdPictureStatus;
public: GdPictureStatus SetPixelArrayByte8bpp( 
   int ImageID,
   byte[]* Data,
   int DstLeft,
   int DstTop,
   int Width,
   int Height
) 
public:
GdPictureStatus SetPixelArrayByte8bpp( 
   int ImageID,
   array<byte>^ Data,
   int DstLeft,
   int DstTop,
   int Width,
   int Height
) 

Parameters

ImageID
GdPicture image identifier.
Data
Array of pixel indexes. each entry of the array is a reference to a palette index [0 - 255].
DstLeft
The left destination pixel of the area.
DstTop
The top destination 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.
Remarks
This method works only with 8bpp image.
See Also