ImageGear .NET v24.12 - Updated
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)
public abstract ImGearPixelArray GetAreaCopy( 
   int startColumn,
   int startRow,
   int endColumn,
   int endRow
)
public: abstract ImGearPixelArray* GetAreaCopy( 
   int startColumn,
   int startRow,
   int endColumn,
   int endRow
) 
public:
abstract ImGearPixelArray^ GetAreaCopy( 
   int startColumn,
   int startRow,
   int endColumn,
   int 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