Leadtools Namespace > RasterImage Class > SetPixelData Method : SetPixelData(Int32,Int32,IntPtr,Int32) Method |
((BitsPerPixel + 7) / 8)
bytes.
'Declaration Public Overloads Sub SetPixelData( _ ByVal row As Integer, _ ByVal column As Integer, _ ByVal data As IntPtr, _ ByVal dataSize As Integer _ )
'Usage Dim instance As RasterImage Dim row As Integer Dim column As Integer Dim data As IntPtr Dim dataSize As Integer instance.SetPixelData(row, column, data, dataSize)
public void setPixelData( int row, int column, byte data[], int dataSize )
((BitsPerPixel + 7) / 8)
bytes.No transformations are performed on the pixel data.
This method should be called only for 8, 16, 24, 32, 48 and 64-bit images.
Use the GetPixelData(Int32,Int32,IntPtr,Int32) method to get data of a specified pixel.
For more information, refer to Introduction to Image Processing With LEADTOOLS.
For more information refer to Accounting for View Perspective.