scanbotsdk
    Preparing search index...

    Class DefaultContentValidator

    Default content validator. Accepts only non-empty strings.

    Index

    Constructors

    Properties

    Constructors

    Properties

    _type: "DefaultContentValidator"
    allowedCharacters: string = ""

    OCR whitelist. Empty string means no restriction. Only characters that are present in the allowedCharacters string will be accepted. For example, if allowedCharacters is set to "ab", the result may only contain characters 'a' and 'b'.

    Default is ""