ImageGear v26.3 - Updated November 9, 2022
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearDIB Class / UpdateLineFrom Method
X coordinate of line start.
Y coordinate of line start.
X coordinate of line end.
Y coordinate of line end.
New values for pixels being updated.




In This Topic
UpdateLineFrom Method
In This Topic
Exchanges the pixels of the specified line with new pixels.
Syntax
'Declaration
 
Public MustOverride Sub UpdateLineFrom( _
   ByVal startColumn As Integer, _
   ByVal startRow As Integer, _
   ByVal endColumn As Integer, _
   ByVal endRow As Integer, _
   ByVal pixels As ImGearPixelArray _
) 
 
'Usage
 
Dim instance As ImGearDIB
Dim startColumn As Integer
Dim startRow As Integer
Dim endColumn As Integer
Dim endRow As Integer
Dim pixels As ImGearPixelArray
 
instance.UpdateLineFrom(startColumn, startRow, endColumn, endRow, pixels)

Parameters

startColumn
X coordinate of line start.
startRow
Y coordinate of line start.
endColumn
X coordinate of line end.
endRow
Y coordinate of line end.
pixels
New values for pixels being updated.
See Also