VintaSoftTwain Control v6.0
VintaSoftTwain Object / AcquiredImages_Crop Method
Zero-based index of image in acquired image collection. Valid values are from 0 to (AcquiredImages_Count-1).
The x-coordinate of the upper-left corner of the crop rectangle.
The y-coordinate of the upper-left corner of the crop rectangle.
The width of the crop rectangle.
The height of the crop rectangle.
In This Topic
    AcquiredImages_Crop Method
    In This Topic
    Description
    Crops specified region of an image.
    Syntax
    Visual Basic
    Public Function AcquiredImages_Crop( _
       ByVal index As Long, _
       ByVal x As Long, _
       ByVal y As Long, _
       ByVal width As Long, _
       ByVal height As Long _
    ) As Boolean
    Parameters
    index
    Zero-based index of image in acquired image collection. Valid values are from 0 to (AcquiredImages_Count-1).
    x
    The x-coordinate of the upper-left corner of the crop rectangle.
    y
    The y-coordinate of the upper-left corner of the crop rectangle.
    width
    The width of the crop rectangle.
    height
    The height of the crop rectangle.
    Return Type
    TRUE (1) if image is processed successfully, FALSE (0) otherwise.
    Remarks
    Information about error that occurs during method execution can be get using the Error and ErrorString properties.
    Example
    Please see example here.
    See Also