AddPageOptions

data class AddPageOptions(var filters: List<ParametricFilter>? = null, var index: Int? = null, var documentDetection: Boolean = true, var straighteningParameters: DocumentStraighteningParameters = DocumentStraighteningParameters( ))

Options for creating a document from images.

Constructors

Link copied to clipboard
constructor(filters: List<ParametricFilter>? = null, index: Int? = null, documentDetection: Boolean = true, straighteningParameters: DocumentStraighteningParameters = DocumentStraighteningParameters( ))
constructor(source: Map<String, Any?>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Recognizes documents on created page.

Link copied to clipboard

The list of filters applied to the page. If not specified, no filters are applied.

Link copied to clipboard
var index: Int?

The index at which the new page will be inserted. If not provided, the page will be added at the end of the document.

Link copied to clipboard

The parameters to use for straightening.

Functions

Link copied to clipboard
fun toJson(config: ToJsonConfiguration = ToJsonConfiguration.default()): JsonObject
Link copied to clipboard
fun toJsonString(config: ToJsonConfiguration = ToJsonConfiguration.default()): String