Class CroppingViewConfiguration

Hierarchy

  • BaseConfiguration
    • CroppingViewConfiguration

Constructors

Properties

container?: HTMLElement

The container HTML element of Scanbot Web SDK camera. Required when 'containerId' property is left undefined when calling any ScanbotSDK createScanner function. If both are provided, 'container' property takes precedence.

containerId?: string

The container HTML element id of Scanbot Web SDK camera. Required when 'container' property is left undefined when calling any ScanbotSDK createScanner function If both are provided, 'container' property takes precedence.

disableScroll?: boolean

Determines whether scroll (incl. bounce) should be disabled when cropping screen is active. Enhances drag-to-crop experience. True by default

image: Uint8Array
polygon?: Polygon
rotations?: number

Initial rotations of the original image. Default is 0

Methods

  • Parameters

    • source: any
    • destination: {
          [key: string]: any;
      }
      • [key: string]: any
    • Optional ignore: string[]

    Returns void

  • Parameters

    • source: any
    • destination: {
          [key: string]: any;
      }
      • [key: string]: any

    Returns void

Generated using TypeDoc