- row
- The number of the row to retrieve. The first row is 0, and the last row is 1 less than the image height.
- 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 GetRow( _ 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 GetRow( int row, byte[] buffer, int bufferIndex, int bufferCount ) |
C++/CLI | |
---|---|
public: virtual int GetRow( int row, 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.
- 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.For an example, refer to RasterImage.Changed.
The buffer to which buffer 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