//scanning/com.pixelnetica.scanning/ImageWriterPdf

ImageWriterPdf

class ImageWriterPdf(file: File) : ImageWriter, ImageFileWriter

Write images to PDF

Parameters

androidJvm

   
file to write

Constructors

   
ImageWriterPdf [androidJvm]
constructor(file: File)

Types

Name Summary
ImageCompression [androidJvm]
class ImageCompression(compressionRate: Float) : ScanningSdkLibrary.Instance
Hold image compression for PDF

Functions

Name Summary
setFontFiles [androidJvm]
external fun setFontFiles(fontFiles: Iterable<File>)
Setup fonts for the footer. If fonts for the hidden text (@see setTextFontFiles) are empty, the function makes a copy for text fonts too.
setImageCompression [androidJvm]
external fun setImageCompression(imageCompression: ImageWriterPdf.ImageCompression)
Setup the compression rate for colored and monochrome images.
setTextFontFiles [androidJvm]
external fun setTextFontFiles(fontFiles: Iterable<File>)
Setup fonts for the hidden text. The function makes a copy for the hidden text only. You can use two separated font sets: the first for the footer (@see setFontFiles) and the second for the hidden text.
writeFile [androidJvm]
open external override fun writeFile(image: File, orientation: ScanOrientation, text: ScanText, textOrientation: ScanOrientation)
Write specified file. Currently used for PDF only
Top