generate From Document
fun generateFromDocument(document: Document, targetFile: File? = null, parameters: TiffGeneratorParameters = TiffGeneratorParameters()): Boolean
Write single-page or multi-page Tiff file form Document.
Return
Operation result. true
if file created and saved successfully, false
otherwise.
Parameters
document
The Document from what Tiff file is to be created.
target File
optional File for newly created Tiff file. If null, Tiff file will be created in the directory of the document. Use document.tiffUri to get the result file Uri.
parameters
TiffGeneratorParameters for Tiff file creation.