Class PageFileStorage
- Namespace
- IO.Scanbot.Sdk.Persistence.Page.Legacy
- Assembly
- DocumentSDK.NET.Droid.dll
[Obsolete("This class is obsoleted in this android platform")]
public class PageFileStorage : Object
- Inheritance
-
PageFileStorage
- Derived
-
Constructors
PageFileStorage(PageStorageProcessor, ILegacyPageStorage, IFileIOProcessor)
public PageFileStorage(PageStorageProcessor pageStorageProcessor, ILegacyPageStorage pageStorage, IFileIOProcessor fileIOProcessor)
Parameters
pageStorageProcessor PageStorageProcessor
pageStorage ILegacyPageStorage
fileIOProcessor IFileIOProcessor
PageFileStorage(nint, JniHandleOwnership)
protected PageFileStorage(nint javaReference, JniHandleOwnership transfer)
Parameters
javaReference nint
transfer JniHandleOwnership
Properties
A
public PageStorageProcessor A { get; set; }
Property Value
- PageStorageProcessor
B
public ILegacyPageStorage B { get; set; }
Property Value
- ILegacyPageStorage
C
public IFileIOProcessor C { get; set; }
Property Value
- IFileIOProcessor
StoredPages
public IList<string> StoredPages { get; }
Property Value
- IList<string>
Methods
Add(Bitmap)
public string Add(Bitmap image)
Parameters
image Bitmap
Returns
- string
Add(Bitmap, PageImageSource)
public string Add(Bitmap image, PageImageSource pageImageSource)
Parameters
image Bitmap
pageImageSource PageImageSource
Returns
- string
Add(Bitmap, Configuration)
public Page Add(Bitmap image, PageStorageProcessor.Configuration configuration)
Parameters
image Bitmap
configuration PageStorageProcessor.Configuration
Returns
- Page
Add(byte[])
public string Add(byte[] image)
Parameters
image byte[]
Returns
- string
Add(byte[], PageImageSource)
public string Add(byte[] image, PageImageSource pageImageSource)
Parameters
image byte[]
pageImageSource PageImageSource
Returns
- string
Add(byte[], Configuration)
public Page Add(byte[] image, PageStorageProcessor.Configuration configuration)
Parameters
image byte[]
configuration PageStorageProcessor.Configuration
Returns
- Page
GenerateAndSetFilteredPreviewForId(Bitmap, string, ParametricFilter)
public Bitmap GenerateAndSetFilteredPreviewForId(Bitmap filteredImage, string existingPageId, ParametricFilter parametricFilter)
Parameters
filteredImage Bitmap
existingPageId string
parametricFilter ParametricFilter
Returns
- Bitmap
GenerateAndSetFilteredPreviewForId(byte[], string, ParametricFilter)
public Bitmap GenerateAndSetFilteredPreviewForId(byte[] filteredImage, string existingPageId, ParametricFilter parametricFilter)
Parameters
filteredImage byte[]
existingPageId string
parametricFilter ParametricFilter
Returns
- Bitmap
GetFilteredPreviewImage(string, ParametricFilter, Options)
public Bitmap GetFilteredPreviewImage(string pageId, ParametricFilter parametricFilter, BitmapFactory.Options options)
Parameters
pageId string
parametricFilter ParametricFilter
options Options
Returns
- Bitmap
GetFilteredPreviewImageURI(string, ParametricFilter)
public Uri GetFilteredPreviewImageURI(string pageId, ParametricFilter parametricFilter)
Parameters
pageId string
parametricFilter ParametricFilter
Returns
- Uri
GetImage(File, Options)
public Bitmap GetImage(File imageFile, BitmapFactory.Options options)
Parameters
imageFile File
options Options
Returns
- Bitmap
GetImage(string, PageFileType, Options)
public Bitmap GetImage(string pageId, PageFileType type, BitmapFactory.Options options)
Parameters
pageId string
type PageFileType
options Options
Returns
- Bitmap
GetImageURI(string, PageFileType)
public Uri GetImageURI(string pageId, PageFileType type)
Parameters
pageId string
type PageFileType
Returns
- Uri
GetPreviewImage(string, PageFileType, Options)
public Bitmap GetPreviewImage(string pageId, PageFileType type, BitmapFactory.Options options)
Parameters
pageId string
type PageFileType
options Options
Returns
- Bitmap
GetPreviewImageURI(string, PageFileType)
public Uri GetPreviewImageURI(string pageId, PageFileType type)
Parameters
pageId string
type PageFileType
Returns
- Uri
Remove(string)
public bool Remove(string pageId)
Parameters
pageId string
Returns
- bool
RemoveAll()
Returns
- bool
RemoveAll(IList<string>)
public void RemoveAll(IList<string> pageIds)
Parameters
pageIds IList<string>
RemoveAllExcept(IList<string>)
public void RemoveAllExcept(IList<string> pageIds)
Parameters
pageIds IList<string>
RemoveFilteredPreviewImages(string)
public void RemoveFilteredPreviewImages(string pageId)
Parameters
pageId string
SetFilteredPreviewForId(Bitmap, string, ParametricFilter)
public void SetFilteredPreviewForId(Bitmap filteredPreview, string existingPageId, ParametricFilter parametricFilter)
Parameters
filteredPreview Bitmap
existingPageId string
parametricFilter ParametricFilter
SetFilteredPreviewForId(byte[], string, ParametricFilter)
public void SetFilteredPreviewForId(byte[] filteredPreview, string existingPageId, ParametricFilter parametricFilter)
Parameters
filteredPreview byte[]
existingPageId string
parametricFilter ParametricFilter
SetImageForId(Bitmap, string, PageFileType)
public void SetImageForId(Bitmap image, string existingPageId, PageFileType type)
Parameters
image Bitmap
existingPageId string
type PageFileType
SetImageForId(byte[], string, PageFileType)
public void SetImageForId(byte[] image, string existingPageId, PageFileType type)
Parameters
image byte[]
existingPageId string
type PageFileType