Table of Contents

Class PageProcessor

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

Constructors

PageProcessor(IFileIOProcessor, PageFileStorage, ContourDetector)

[Register(".ctor", "(Lio/scanbot/sdk/persistence/fileio/FileIOProcessor;Lio/scanbot/sdk/persistence/PageFileStorage;Lio/scanbot/sdk/core/contourdetector/ContourDetector;)V", "")]
public PageProcessor(IFileIOProcessor fileIOProcessor, PageFileStorage pageFileStorage, ContourDetector contourDetector)

Parameters

fileIOProcessor IFileIOProcessor
pageFileStorage PageFileStorage
contourDetector ContourDetector

PageProcessor(nint, JniHandleOwnership)

protected PageProcessor(nint javaReference, JniHandleOwnership transfer)

Parameters

javaReference nint
transfer JniHandleOwnership

Properties

A

[Register("a")]
public IFileIOProcessor A { get; set; }

Property Value

IFileIOProcessor

B

[Register("b")]
public PageFileStorage B { get; set; }

Property Value

PageFileStorage

C

[Register("c")]
public ContourDetector C { get; set; }

Property Value

ContourDetector

Methods

ApplyFilter(Page, ParametricFilter)

[Register("applyFilter", "(Lio/scanbot/sdk/persistence/Page;Lio/scanbot/imagefilters/ParametricFilter;)Lio/scanbot/sdk/persistence/Page;", "")]
public Page ApplyFilter(Page page, ParametricFilter parametricFilter)

Parameters

page Page
parametricFilter ParametricFilter

Returns

Page

ApplyFilter(Page, IList<ParametricFilter>)

[Register("applyFilter", "(Lio/scanbot/sdk/persistence/Page;Ljava/util/List;)Lio/scanbot/sdk/persistence/Page;", "")]
public Page ApplyFilter(Page page, IList<ParametricFilter> parametricFilters)

Parameters

page Page
parametricFilters IList<ParametricFilter>

Returns

Page

CropAndRotate(Page, int, IList<PointF>)

[Register("cropAndRotate", "(Lio/scanbot/sdk/persistence/Page;ILjava/util/List;)Lio/scanbot/sdk/persistence/Page;", "")]
public Page CropAndRotate(Page page, int times, IList<PointF> polygon)

Parameters

page Page
times int
polygon IList<PointF>

Returns

Page

DetectDocument(Page)

[Register("detectDocument", "(Lio/scanbot/sdk/persistence/Page;)Lio/scanbot/sdk/persistence/Page;", "")]
public Page DetectDocument(Page page)

Parameters

page Page

Returns

Page

GenerateFilteredPreview(Page, ParametricFilter)

[Register("generateFilteredPreview", "(Lio/scanbot/sdk/persistence/Page;Lio/scanbot/imagefilters/ParametricFilter;)Landroid/graphics/Bitmap;", "")]
public Bitmap GenerateFilteredPreview(Page page, ParametricFilter parametricFilter)

Parameters

page Page
parametricFilter ParametricFilter

Returns

Bitmap

Rotate(Page, int)

[Register("rotate", "(Lio/scanbot/sdk/persistence/Page;I)Lio/scanbot/sdk/persistence/Page;", "")]
public Page Rotate(Page page, int times)

Parameters

page Page
times int

Returns

Page