createDocument

abstract fun createDocument(documentImageSizeLimit: Int = Document.DEFAULT_DOCUMENT_IMAGE_SIZE_LIMIT): Document

Create a new document. This is an IO operation and is not recommended to execute in the UI thread.