renderPdfPageToImage method

  1. @override
Future<String?> renderPdfPageToImage({
  1. required String pdfPath,
  2. required int pageIndex,
  3. required String outputPath,
  4. int? width,
})
override

Implementation

@override
Future<String?> renderPdfPageToImage({
  required String pdfPath,
  required int pageIndex,
  required String outputPath,
  int? width,
}) {
  return methodChannel.invokeMethod<String>('renderPdfPageToImage', {
    'pdfPath': pdfPath,
    'pageIndex': pageIndex,
    'outputPath': outputPath,
    'width': width,
  });
}