- row
- The number of the row to update. The first row is 0, and the last row is 1 less than the image height.
- column
- The column offset within the row to update. The first column offset is 0, and the last column offset is 1 less than the image width.
- buffer
- Buffer containing the image data.
- bufferIndex
- 0-based index into the buffer. This is the start location of output data.
- bufferCount
- Number of bytes to copy to the buffer.
Visual Basic (Declaration) | |
---|---|
Public Overridable Function SetRowColumn( _ ByVal row As Integer, _ ByVal column 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 SetRowColumn( int row, int column, byte[] buffer, int bufferIndex, int bufferCount ) |
C++/CLI | |
---|---|
public: virtual int SetRowColumn( int row, int column, 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.
- column
- The column offset within the row to update. The first column offset is 0, and the last column offset is 1 less than the image width.
- buffer
- Buffer containing the image data.
- bufferIndex
- 0-based index into the buffer. This is the start location of output data.
- bufferCount
- Number of bytes to copy to the buffer.
Return Value
The number of bytes copied.For an example, refer to GetRowColumn
The data is copied exactly as it is stored in the buffer.
By using this low-level method to update any part of a row, you can write a procedure that updates a single pixel or a rectangular area within the image.
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