- row
- The number of the row to retrieve. The first row is 0, and the last row is 1 less than the image height.
- column
- The column offset within the row to retrieve. The first column offset is 0, and the last column offset is 1 less than the image width
- buffer
- Buffer to hold the image data that this method gets.
- 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 GetRowColumn( _ 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 GetRowColumn( int row, int column, byte[] buffer, int bufferIndex, int bufferCount ) |
C++/CLI | |
---|---|
public: virtual int GetRowColumn( int row, int column, array<byte>^ buffer, int bufferIndex, int bufferCount ) |
Parameters
- row
- The number of the row to retrieve. The first row is 0, and the last row is 1 less than the image height.
- column
- The column offset within the row to retrieve. The first column offset is 0, and the last column offset is 1 less than the image width
- buffer
- Buffer to hold the image data that this method gets.
- 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.By using this low-level method to get any part of a row, you can write a procedure that accesses a single pixel or a rectangular area within the image.
The buffer to which pBuffer points will be filled with uncompressed data.
This method copies image data from the image to a buffer that you specify. The data is copied exactly as it is stored in the image.
Use the BytesPerLine property to determine the byte count of each line. 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