Label Field Location
Defined in namespace Scandit.DataCapture.Label.Capture
- LabelFieldLocation
class LabelFieldLocationAdded in version 7.5.0
Defines the expected location of a field within a label. This class allows you to specify either exact coordinates or predefined relative positions where a field should be searched for during label capture.
Field locations help constrain the search area and improve recognition accuracy by focusing the capture engine on specific regions of the label.
- Of()
static LabelFieldLocation Of(
floatleft,floattop,floatright,floatbottom)Added in version 7.5.0
Construct a new Label Field Location with the provided coordinates.
- Of()
static LabelFieldLocation Of(Rect location)
Added in version 7.5.0
Construct a new Label Field Location with the provided location.
- TopLeft()
static LabelFieldLocation TopLeft()
Added in version 7.5.0
Construct a new Label Field Location with the predefined location type corresponding to the top-left corner.
- TopRight()
static LabelFieldLocation TopRight()
Added in version 7.5.0
Construct a new Label Field Location with the predefined location type corresponding to the top-right corner.
- BottomLeft()
static LabelFieldLocation BottomLeft()
Added in version 7.5.0
Construct a new Label Field Location with the predefined location type corresponding to the bottom-left corner.
- BottomRight()
static LabelFieldLocation BottomRight()
Added in version 7.5.0
Construct a new Label Field Location with the predefined location type corresponding to the bottom-right corner.
- Top()
static LabelFieldLocation Top()
Added in version 7.5.0
Construct a new Label Field Location with the predefined location type corresponding to the top half.
- Right()
static LabelFieldLocation Right()
Added in version 7.5.0
Construct a new Label Field Location with the predefined location type corresponding to the right half.
- Bottom()
static LabelFieldLocation Bottom()
Added in version 7.5.0
Construct a new Label Field Location with the predefined location type corresponding to the bottom half.
- Left()
static LabelFieldLocation Left()
Added in version 7.5.0
Construct a new Label Field Location with the predefined location type corresponding to the left half.
- Center()
static LabelFieldLocation Center()
Added in version 7.5.0
Construct a new Label Field Location with the predefined location type corresponding to the center.
- WholeLabel()
static LabelFieldLocation WholeLabel()
Added in version 7.5.0
Construct a new Label Field Location with the predefined location type corresponding to the whole label.