ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Core Namespace / ImGearDIB Class / GetLineCopy Method
X dimension of line start point.
Y dimension of line start point.
X dimension of line end point.
Y dimension of line end point.




In This Topic
    GetLineCopy Method
    In This Topic
    Returns an array of pixels that are exact copies of pixels located in the requested area of image.
    Syntax
    'Declaration
     
    Public MustOverride Function GetLineCopy( _
       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.GetLineCopy(startColumn, startRow, endColumn, endRow)
    public abstract ImGearPixelArray GetLineCopy( 
       int startColumn,
       int startRow,
       int endColumn,
       int endRow
    )
    public: abstract ImGearPixelArray* GetLineCopy( 
       int startColumn,
       int startRow,
       int endColumn,
       int endRow
    ) 
    public:
    abstract ImGearPixelArray^ GetLineCopy( 
       int startColumn,
       int startRow,
       int endColumn,
       int endRow
    ) 

    Parameters

    startColumn
    X dimension of line start point.
    startRow
    Y dimension of line start point.
    endColumn
    X dimension of line end point.
    endRow
    Y dimension of line end point.

    Return Value

    ImGearPixelArray class instance.
    Remarks
    Incoming coordinates must not exceed the image area bounds. Otherwise, an exception will be thrown.
    See Also