Tao.DevIl SDK Documentation

Il.ilCopyPixels Method 

s width, height or depth number of pixels will be copied to Data.

[Visual Basic]
Public Shared Function ilCopyPixels( _
   ByVal XOff As Integer, _
   ByVal YOff As Integer, _
   ByVal ZOff As Integer, _
   ByVal Width As Integer, _
   ByVal Height As Integer, _
   ByVal Depth As Integer, _
   ByVal Format As Integer, _
   ByVal Type As Integer, _
   ByVal Data As IntPtr _
) As Integer
[C#]
public static int ilCopyPixels(
   int XOff,
   int YOff,
   int ZOff,
   int Width,
   int Height,
   int Depth,
   int Format,
   int Type,
   IntPtr Data
);

Parameters

XOff
Where to begin copying pixels from in the x direction.
YOff
Where to begin copying pixels from in the y direction.
ZOff
Where to begin copying pixels from in the z direction.
Width
How many pixels to copy in the x direction.
Height
How many pixels to copy in the y direction.
Depth
How many pixels to copy in the z direction.
Format
The desired format the output should be.
Type
The desired type the output should be.
Data
User-defined buffer to copy the image data to.

Return Value

See Also

Il Class | Tao.DevIl Namespace