Label Field Location

Defined under the namespace Scandit.Datacapture.Label

LabelFieldLocation
class LabelFieldLocation

Added in version 7.2.0

This class holds data about the location of a label field.

of(location)
static of(location: Rect): Promise<LabelFieldLocation>

Added in version 7.2.0

Construct a new Label Field Location with the provided location.

topLeft()
static topLeft(): Promise<LabelFieldLocation>

Added in version 7.2.0

Construct a new Label Field Location with the predefined location type corresponding to the top-left corner.

topRight()
static topRight(): Promise<LabelFieldLocation>

Added in version 7.2.0

Construct a new Label Field Location with the predefined location type corresponding to the top-right corner.

bottomLeft()
static bottomLeft(): Promise<LabelFieldLocation>

Added in version 7.2.0

Construct a new Label Field Location with the predefined location type corresponding to the bottom-left corner.

bottomRight()
static bottomRight(): Promise<LabelFieldLocation>

Added in version 7.2.0

Construct a new Label Field Location with the predefined location type corresponding to the bottom-right corner.

top()
static top(): Promise<LabelFieldLocation>

Added in version 7.2.0

Construct a new Label Field Location with the predefined location type corresponding to the top half.

right()
static right(): Promise<LabelFieldLocation>

Added in version 7.2.0

Construct a new Label Field Location with the predefined location type corresponding to the right half.

bottom()
static bottom(): Promise<LabelFieldLocation>

Added in version 7.2.0

Construct a new Label Field Location with the predefined location type corresponding to the bottom half.

left()
static left(): Promise<LabelFieldLocation>

Added in version 7.2.0

Construct a new Label Field Location with the predefined location type corresponding to the left half.

center()
static center(): Promise<LabelFieldLocation>

Added in version 7.2.0

Construct a new Label Field Location with the predefined location type corresponding to the center.

wholeLabel()
static wholeLabel(): Promise<LabelFieldLocation>

Added in version 7.2.0

Construct a new Label Field Location with the predefined location type corresponding to the whole label.