Table of Contents

Interface IPdfImagesExtractor

Namespace
IO.Scanbot.Sdk.Pdf
Assembly
BarcodeSDK.NET.Droid.dll
[Register("io/scanbot/sdk/pdf/PdfImagesExtractor", "", "IO.Scanbot.Sdk.Pdf.IPdfImagesExtractorInvoker")]
public interface IPdfImagesExtractor : IJavaObject, IJavaPeerable, IDisposable
Inherited Members

Fields

DefaultScaling

[Register("DEFAULT_SCALING")]
public const float DefaultScaling = 2

Field Value

float

Methods

ExecuteWithResultHandling(IFunction0)

[Register("executeWithResultHandling", "(Lkotlin/jvm/functions/Function0;)Lio/scanbot/common/Result;", "GetExecuteWithResultHandling_Lkotlin_jvm_functions_Function0_Handler:IO.Scanbot.Sdk.Pdf.IPdfImagesExtractorInvoker, BarcodeSDK.NET.Droid")]
[JavaTypeParameters(new string[] { "T" })]
IResult ExecuteWithResultHandling(IFunction0 operation)

Parameters

operation IFunction0

Returns

IResult

Extract(File, IPdfImageExtractingCallback)

[Register("extract", "(Ljava/io/File;Lio/scanbot/sdk/pdf/PdfImagesExtractor$PdfImageExtractingCallback;)Lio/scanbot/common/Result;", "GetExtract_Ljava_io_File_Lio_scanbot_sdk_pdf_PdfImagesExtractor_PdfImageExtractingCallback_Handler:IO.Scanbot.Sdk.Pdf.IPdfImagesExtractorInvoker, BarcodeSDK.NET.Droid")]
IResult Extract(File pdfFile, IPdfImagesExtractor.IPdfImageExtractingCallback processingCallback)

Parameters

pdfFile File
processingCallback IPdfImagesExtractor.IPdfImageExtractingCallback

Returns

IResult

Extract(File, ILongOperationCancelCallback, IProgressCallback, IPdfImageProcessingCallback)

[Register("extract", "(Ljava/io/File;Lio/scanbot/sdk/util/LongOperationCancelCallback;Lio/scanbot/sdk/util/ProgressCallback;Lio/scanbot/sdk/pdf/PdfImagesExtractor$PdfImageProcessingCallback;)Lio/scanbot/common/Result;", "GetExtract_Ljava_io_File_Lio_scanbot_sdk_util_LongOperationCancelCallback_Lio_scanbot_sdk_util_ProgressCallback_Lio_scanbot_sdk_pdf_PdfImagesExtractor_PdfImageProcessingCallback_Handler:IO.Scanbot.Sdk.Pdf.IPdfImagesExtractorInvoker, BarcodeSDK.NET.Droid")]
IResult Extract(File pdfFile, ILongOperationCancelCallback cancelCallback, IProgressCallback progressCallback, IPdfImagesExtractor.IPdfImageProcessingCallback processingCallback)

Parameters

pdfFile File
cancelCallback ILongOperationCancelCallback
progressCallback IProgressCallback
processingCallback IPdfImagesExtractor.IPdfImageProcessingCallback

Returns

IResult

Extract(File, File, string, CompressFormat, int, float, Config, ILongOperationCancelCallback, IProgressCallback, IPdfImageProcessingCallback)

[Register("extract", "(Ljava/io/File;Ljava/io/File;Ljava/lang/String;Landroid/graphics/Bitmap$CompressFormat;IFLandroid/graphics/Bitmap$Config;Lio/scanbot/sdk/util/LongOperationCancelCallback;Lio/scanbot/sdk/util/ProgressCallback;Lio/scanbot/sdk/pdf/PdfImagesExtractor$PdfImageProcessingCallback;)Lio/scanbot/common/Result;", "GetExtract_Ljava_io_File_Ljava_io_File_Ljava_lang_String_Landroid_graphics_Bitmap_CompressFormat_IFLandroid_graphics_Bitmap_Config_Lio_scanbot_sdk_util_LongOperationCancelCallback_Lio_scanbot_sdk_util_ProgressCallback_Lio_scanbot_sdk_pdf_PdfImagesExtractor_PdfImageProcessingCallback_Handler:IO.Scanbot.Sdk.Pdf.IPdfImagesExtractorInvoker, BarcodeSDK.NET.Droid")]
IResult Extract(File pdfFile, File outputDir, string prefix, Bitmap.CompressFormat compression, int quality, float scaling, Bitmap.Config bitmapConfig, ILongOperationCancelCallback cancelCallback, IProgressCallback progressCallback, IPdfImagesExtractor.IPdfImageProcessingCallback processingCallback)

Parameters

pdfFile File
outputDir File
prefix string
compression Bitmap.CompressFormat
quality int
scaling float
bitmapConfig Bitmap.Config
cancelCallback ILongOperationCancelCallback
progressCallback IProgressCallback
processingCallback IPdfImagesExtractor.IPdfImageProcessingCallback

Returns

IResult

Extract(File, File, string, int, float)

Returns the ImageUrls from the PDF file.

IResult Extract(File pdfFile, File outputDir, string prefix = "scanbotImage", int quality = 100, float scaling = 2)

Parameters

pdfFile File

Required PDF File for image extraction.

outputDir File

Java.IO.File Object. Requires the output directory path only, and not a file name or extension.

prefix string

Prefix string of the images. Optional.

quality int

Quality of the image from 1 to 100. Optional.

scaling float

Scaling of the image. Optional.

Returns

IResult