- row
- The number of the row to update. The first row is 0, and the last row is 1 less than the image height.
- buffer
- Buffer containing the image data.
- bufferIndex
- 0-based index into the buffer. This is the start location of input data.
- bufferCount
- Number of bytes to copy from the buffer.
Visual Basic (Declaration) | |
---|---|
Public Overridable Function SetRow( _ ByVal row As Integer, _ ByVal buffer() As Byte, _ ByVal bufferIndex As Integer, _ ByVal bufferCount As Integer _ ) As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual int SetRow( int row, byte[] buffer, int bufferIndex, int bufferCount ) |
C++/CLI | |
---|---|
public: virtual int SetRow( int row, array<byte>^ buffer, int bufferIndex, int bufferCount ) |
Parameters
- row
- The number of the row to update. The first row is 0, and the last row is 1 less than the image height.
- buffer
- Buffer containing the image data.
- bufferIndex
- 0-based index into the buffer. This is the start location of input data.
- bufferCount
- Number of bytes to copy from the buffer.
Return Value
The number of bytes copied.For an example, refer to RasterImage.Changed.
The data is copied exactly as it is stored in the buffer.
If the image is 8-bit then each byte is an index to the palette.
If the image is a 24-bit image, then each three bytes represents one pixel element. Color order is determined by the RasterImage.Order property.
For more information, refer to Introduction to Image Processing With LEADTOOLS.
Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6