Table of Contents

Class DefaultPdfImagesExtractor

Namespace
IO.Scanbot.Sdk.Pdf
Assembly
DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/pdf/DefaultPdfImagesExtractor", DoNotGenerateAcw = true)]
public class DefaultPdfImagesExtractor : Object, IPdfImagesExtractor, IJavaObject, IJavaPeerable, IDisposable
Inheritance
DefaultPdfImagesExtractor
Implements
Derived
Inherited Members

Constructors

DefaultPdfImagesExtractor(IFileIOProcessor)

[Register(".ctor", "(Lio/scanbot/sdk/persistence/fileio/FileIOProcessor;)V", "")]
public DefaultPdfImagesExtractor(IFileIOProcessor fileIOProcessor)

Parameters

fileIOProcessor IFileIOProcessor

DefaultPdfImagesExtractor(nint, JniHandleOwnership)

protected DefaultPdfImagesExtractor(nint javaReference, JniHandleOwnership transfer)

Parameters

javaReference nint
transfer JniHandleOwnership

Properties

FileIOProcessor

public IFileIOProcessor FileIOProcessor { get; }

Property Value

IFileIOProcessor

Methods

CalculateFileName(string, int, CompressFormat)

[Register("calculateFileName", "(Ljava/lang/String;ILandroid/graphics/Bitmap$CompressFormat;)Ljava/lang/String;", "")]
public string CalculateFileName(string prefix, int pageNumber, Bitmap.CompressFormat format)

Parameters

prefix string
pageNumber int
format Bitmap.CompressFormat

Returns

string

CalculatePageSize(float, Page)

[Register("calculatePageSize", "(FLandroid/graphics/pdf/PdfRenderer$Page;)Lkotlin/Pair;", "")]
public Pair CalculatePageSize(float scaling, PdfRenderer.Page page)

Parameters

scaling float
page PdfRenderer.Page

Returns

Pair

ImageUrlsFromPdf(File, File, string, CompressFormat, int, float, Config, ILongOperationCancelCallback, IProgressCallback)

[Register("imageUrlsFromPdf", "(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;)Ljava/util/List;", "GetImageUrlsFromPdf_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_Handler")]
public virtual IList<Uri> ImageUrlsFromPdf(File pdfFile, File outputDir, string prefix, Bitmap.CompressFormat compression, int quality, float scaling, Bitmap.Config bitmapConfig, ILongOperationCancelCallback cancelCallback, IProgressCallback progressCallback)

Parameters

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

Returns

IList<Uri>

RenderBitmap(int, int, Config, Page)

[Register("renderBitmap", "(IILandroid/graphics/Bitmap$Config;Landroid/graphics/pdf/PdfRenderer$Page;)Landroid/graphics/Bitmap;", "")]
public Bitmap RenderBitmap(int width, int height, Bitmap.Config bitmapConfig, PdfRenderer.Page page)

Parameters

width int
height int
bitmapConfig Bitmap.Config
page PdfRenderer.Page

Returns

Bitmap