Changes the data of the specified pixel.
Public Overloads Sub SetPixelData( _
ByVal row As Integer, _
ByVal column As Integer, _
ByVal data() As Byte _
)
- (BOOL)setData:(const void *)data
ofSize:(unsigned long)size
forPixelAtRow:(NSInteger)row
column:(NSInteger)column
error:(NSError **)error
function Leadtools.RasterImage.SetPixelData(Int32,Int32,Byte[])(
row ,
column ,
data
)
row
The zero-based row number of the pixel.
column
The zero-based column number of the pixel.
data
Buffer that contains the pixel data to set. This buffer should contain ((BitsPerPixel + 7) / 8)
bytes.
The image memory must be locked when you use this method. Normally, you can call Access to lock the memory before starting an operation that uses this method. Then call Release when the operation is finished.
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 Introduction to Image Processing With LEADTOOLS.
For more information refer to Accounting for View Perspective.
For an example, refer to GetPixelData.
Products |
Support |
Feedback: SetPixelData(Int32,Int32,Byte[]) Method - Leadtools |
Introduction |
Help Version 19.0.2017.6.19
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.