GdPicture image identifier.
Array of pixel data.
The left destination pixel of the area.
The top destination pixel of the area.
The width of the destination area in pixel.
The height of the destination area in pixel.





In This Topic
GdPicture14 Namespace / GdPictureImaging Class / SetPixelArrayInteger Method

SetPixelArrayInteger Method (GdPictureImaging)

In This Topic
Changes the pixel values contained into an area of a GdPicture image from an array which contains Integer ARBG color values.
Syntax
'Declaration
 
Public Function SetPixelArrayInteger( _
   ByVal ImageID As Integer, _
   ByVal Data() As Integer, _
   ByVal DstLeft As Integer, _
   ByVal DstTop As Integer, _
   ByVal Width As Integer, _
   ByVal Height As Integer _
) As GdPictureStatus
public GdPictureStatus SetPixelArrayInteger( 
   int ImageID,
   int[] Data,
   int DstLeft,
   int DstTop,
   int Width,
   int Height
)
public function SetPixelArrayInteger( 
    ImageID: Integer;
    Data: Integerarray of;
    DstLeft: Integer;
    DstTop: Integer;
    Width: Integer;
    Height: Integer
): GdPictureStatus; 
public function SetPixelArrayInteger( 
   ImageID : int,
   Data : int[],
   DstLeft : int,
   DstTop : int,
   Width : int,
   Height : int
) : GdPictureStatus;
public: GdPictureStatus SetPixelArrayInteger( 
   int ImageID,
   int[]* Data,
   int DstLeft,
   int DstTop,
   int Width,
   int Height
) 
public:
GdPictureStatus SetPixelArrayInteger( 
   int ImageID,
   array<int>^ Data,
   int DstLeft,
   int DstTop,
   int Width,
   int Height
) 

Parameters

ImageID
GdPicture image identifier.
Data
Array of pixel data.
DstLeft
The left destination pixel of the area.
DstTop
The top destination pixel of the area.
Width
The width of the destination area in pixel.
Height
The height of the destination area in pixel.

Return Value

A member of the GdPictureStatus enumeration.
Remarks
The method automatically converts image pixel format to PixelFormat.Format32bppArgb.
See Also