Package-level declarations

Types

Link copied to clipboard

Page direction.

Link copied to clipboard

Page fit.

Link copied to clipboard

Page size.

Link copied to clipboard
data class PdfAttributes(var author: String = "Created with Scanbot SDK", var creator: String = "", var title: String = "", var subject: String = "", var keywords: String = "") : Parcelable

PDF attributes.

Link copied to clipboard
data class PdfConfiguration(var attributes: PdfAttributes = PdfAttributes( ), var pageSize: PageSize = PageSize.A4, var pageDirection: PageDirection = PageDirection.PORTRAIT, var pageFit: PageFit = PageFit.FIT_IN, var dpi: Int = 72, var jpegQuality: Int = 80, var resamplingMethod: ResamplingMethod = ResamplingMethod.NONE) : Parcelable

The parameters pageSize, pageFit, dpi and resamplingMethod interact in a complex way when adding bitmap images (JPEG, PNG, or raw) to the PDF. There are three cases to consider:

Link copied to clipboard

Resampling method.