ImageGear .NET - Updated December 24, 2018
GetAreaCopy Method




ImageGear24.Core Assembly > ImageGear.Core Namespace > ImGearDIB Class : GetAreaCopy Method
X coordinate of top-left point of rectangular area.
Y coordinate of top-left point of rectangular area.
X coordinate of bottom-right point of rectangular area.
Y coordinate of bottom-right point of rectangular area.
Returns an array of pixels that are exact copies of pixels in the requested rectangular part of the image.
Syntax
'Declaration
 
Public MustOverride Function GetAreaCopy( _
   ByVal startColumn As Integer, _
   ByVal startRow As Integer, _
   ByVal endColumn As Integer, _
   ByVal endRow As Integer _
) As ImGearPixelArray
 
'Usage
 
Dim instance As ImGearDIB
Dim startColumn As Integer
Dim startRow As Integer
Dim endColumn As Integer
Dim endRow As Integer
Dim value As ImGearPixelArray
 
value = instance.GetAreaCopy(startColumn, startRow, endColumn, endRow)

Parameters

startColumn
X coordinate of top-left point of rectangular area.
startRow
Y coordinate of top-left point of rectangular area.
endColumn
X coordinate of bottom-right point of rectangular area.
endRow
Y coordinate of bottom-right point of rectangular area.

Return Value

ImGearPixelArray class object.
See Also

Reference

ImGearDIB Class
ImGearDIB Members