Visual Basic (Declaration) | |
---|---|
Public Overloads Sub SetPixelData( _ ByVal row As Integer, _ ByVal column As Integer, _ ByVal data As IntPtr, _ ByVal dataSize As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
|
Managed Extensions for C++ | |
---|---|
public: void SetPixelData( int row, int column, IntPtr data, int dataSize ) |
Parameters
- row
- The zero-based row number of the pixel.
- column
- The zero-based column number of the pixel.
- data
- Pointer to an unmanaged memory buffer that contains the pixel data to set.
This buffer should contain
((BitsPerPixel + 7) / 8)
bytes. - dataSize
- Size of the data unmanaged memory buffer.
For an example, refer to GetPixelData.
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 method to get data of a specified pixel.
For more information, refer to Processing an Image.
For more information refer to Accounting for View Perspective.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family