Share via


CheckScanner.DefineCropArea(Int32, Int32, Int32, Int32, Int32) Method

Definition

Establishes one or more cropping areas that can be applied to a scanned image.

public abstract void DefineCropArea (int cropAreaId, int x, int y, int width, int height);
abstract member DefineCropArea : int * int * int * int * int -> unit
Public MustOverride Sub DefineCropArea (cropAreaId As Integer, x As Integer, y As Integer, width As Integer, height As Integer)

Parameters

cropAreaId
Int32

The numeric identifier for the defined crop area.

x
Int32

The starting X-coordinate of the cropping area.

y
Int32

The starting Y-coordinate of the cropping area.

width
Int32

The value added to the X-coordinate to determine the x endpoint for the cropping area. If set to CropAreaRight, the x endpoint value is set to the value of the DocumentWidth property.

height
Int32

The value added to the Y-coordinate to determine the y endpoint for the cropping area. If set to CropAreaBottom, the y endpoint value is set to the value of the DocumentHeight property.

Applies to