Label Field Location

Defined under the namespace Scandit.Datacapture.Label

LabelFieldLocation
class LabelFieldLocation

Added in version 6.22.0

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

for(left, top, right, bottom)
static for(left: number,
        top: number,
        right: number,
        bottom: number): LabelFieldLocation

Added in version 6.22.0

Construct a new Label Field Location with the provided coordinates.

forRect(rect)
static forRect(rect: Rect): LabelFieldLocation

Added in version 6.22.0

Construct a new Label Field Location with the provided location.

topLeft()
static topLeft(): LabelFieldLocation

Added in version 6.22.0

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

topRight()
static topRight(): LabelFieldLocation

Added in version 6.22.0

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

bottomLeft()
static bottomLeft(): LabelFieldLocation

Added in version 6.22.0

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

bottomRight()
static bottomRight(): LabelFieldLocation

Added in version 6.22.0

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

top()
static top(): LabelFieldLocation

Added in version 6.22.0

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

right()
static right(): LabelFieldLocation

Added in version 6.22.0

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

bottom()
static bottom(): LabelFieldLocation

Added in version 6.22.0

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

left()
static left(): LabelFieldLocation

Added in version 6.22.0

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

center()
static center(): LabelFieldLocation

Added in version 6.22.0

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

wholeLabel()
static wholeLabel(): LabelFieldLocation

Added in version 6.22.0

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