exportToPdfBytes static method
Exports a list of scan results to PDF raw byte buffer.
Implementation
static Uint8List exportToPdfBytes({
required List<ScanResult> results,
String title = 'ScannerPro Document Export',
String? watermarkText,
String? password,
bool isEncrypted = false,
bool digitalSignature = false,
bool enableCompression = true,
}) {
return PdfExporter.exportResultsToPdf(
results: results,
title: title,
watermarkText: watermarkText,
password: password,
isEncrypted: isEncrypted,
digitalSignature: digitalSignature,
enableCompression: enableCompression,
);
}