Class Document
- Namespace
- IO.Scanbot.Sdk.Docprocessing
- Assembly
- DocumentSDK.NET.Droid.dll
[Register("io/scanbot/sdk/docprocessing/Document", DoNotGenerateAcw = true)]
public sealed class Document : Object, IJavaObject, IJavaPeerable, IDisposable
- Inheritance
-
Document
- Implements
-
- Inherited Members
-
Constructors
Document(IDocumentStorage, PageFileStorage, IFileIOProcessor)
[Register(".ctor", "(Lio/scanbot/sdk/persistence/document/DocumentStorage;Lio/scanbot/sdk/persistence/page/PageFileStorage;Lio/scanbot/sdk/persistence/fileio/FileIOProcessor;)V", "")]
public Document(IDocumentStorage documentStorage, PageFileStorage pageFileStorage, IFileIOProcessor fileIOProcessor)
Parameters
documentStorage
IDocumentStorage
pageFileStorage
PageFileStorage
fileIOProcessor
IFileIOProcessor
Document(IDocumentStorage, PageFileStorage, IFileIOProcessor, int)
[Register(".ctor", "(Lio/scanbot/sdk/persistence/document/DocumentStorage;Lio/scanbot/sdk/persistence/page/PageFileStorage;Lio/scanbot/sdk/persistence/fileio/FileIOProcessor;I)V", "")]
public Document(IDocumentStorage documentStorage, PageFileStorage pageFileStorage, IFileIOProcessor fileIOProcessor, int documentImageSizeLimit)
Parameters
documentStorage
IDocumentStorage
pageFileStorage
PageFileStorage
fileIOProcessor
IFileIOProcessor
documentImageSizeLimit
int
Document(IDocumentStorage, PageFileStorage, IFileIOProcessor, string, bool, int)
[Register(".ctor", "(Lio/scanbot/sdk/persistence/document/DocumentStorage;Lio/scanbot/sdk/persistence/page/PageFileStorage;Lio/scanbot/sdk/persistence/fileio/FileIOProcessor;Ljava/lang/String;ZI)V", "")]
public Document(IDocumentStorage documentStorage, PageFileStorage pageFileStorage, IFileIOProcessor fileIOProcessor, string documentId, bool createIfNotExist, int documentImageSizeLimit)
Parameters
documentStorage
IDocumentStorage
pageFileStorage
PageFileStorage
fileIOProcessor
IFileIOProcessor
documentId
string
createIfNotExist
bool
documentImageSizeLimit
int
Properties
A
[Register("a")]
public IDocumentStorage A { get; set; }
Property Value
- IDocumentStorage
B
[Register("b")]
public PageFileStorage B { get; set; }
Property Value
- PageFileStorage
C
[Register("c")]
public IFileIOProcessor C { get; set; }
Property Value
- IFileIOProcessor
CreationTimeStamp
public long CreationTimeStamp { get; set; }
Property Value
- long
D
[Register("d")]
public IMutableStateFlow D { get; set; }
Property Value
- IMutableStateFlow
DocumentImageSizeLimit
public int DocumentImageSizeLimit { get; set; }
Property Value
- int
E
[Register("e")]
public IStateFlow E { get; set; }
Property Value
- IStateFlow
G
[Register("g")]
public static IMutex G { get; set; }
Property Value
- IMutex
H
[Register("h")]
public static int H { get; }
Property Value
- int
PageCount
public int PageCount { get; }
Property Value
- int
Pages
public IList<Page> Pages { get; }
Property Value
- IList<Page>
PagesFlow
public IStateFlow PagesFlow { get; }
Property Value
- IStateFlow
PdfUri
public Uri PdfUri { get; }
Property Value
- Uri
TiffUri
public Uri TiffUri { get; }
Property Value
- Uri
Uuid
public string Uuid { get; set; }
Property Value
- string
Methods
AddPage(Bitmap)
[Register("addPage", "(Landroid/graphics/Bitmap;)Lio/scanbot/sdk/docprocessing/Page;", "")]
public Page AddPage(Bitmap image)
Parameters
image
Bitmap
Returns
- Page
AddPage(Uri)
[Register("addPage", "(Landroid/net/Uri;)Lio/scanbot/sdk/docprocessing/Page;", "")]
public Page AddPage(Uri imageUri)
Parameters
imageUri
Uri
Returns
- Page
AddPage(byte[])
[Register("addPage", "([B)Lio/scanbot/sdk/docprocessing/Page;", "")]
public Page AddPage(byte[] image)
Parameters
image
byte[]
Returns
- Page
Clone()
[Register("clone", "()Lio/scanbot/sdk/docprocessing/Document;", "")]
public Document Clone()
Returns
- Document
Delete()
[Register("delete", "()V", "")]
public void Delete()
Duplicate(string, bool)
[Register("duplicate", "(Ljava/lang/String;Z)Lio/scanbot/sdk/docprocessing/Document;", "")]
public Document Duplicate(string newUuid, bool overwrite)
Parameters
newUuid
string
overwrite
bool
Returns
- Document
InsertPage(Bitmap, int)
[Register("insertPage", "(Landroid/graphics/Bitmap;I)Lio/scanbot/sdk/docprocessing/Page;", "")]
public Page InsertPage(Bitmap image, int index)
Parameters
image
Bitmap
index
int
Returns
- Page
InsertPage(byte[], int)
[Register("insertPage", "([BI)Lio/scanbot/sdk/docprocessing/Page;", "")]
public Page InsertPage(byte[] image, int index)
Parameters
image
byte[]
index
int
Returns
- Page
LoadSync(bool)
[Register("loadSync", "(Z)Lio/scanbot/sdk/docprocessing/Document;", "")]
public Document LoadSync(bool createIfNotExist)
Parameters
createIfNotExist
bool
Returns
- Document
MovePage(int, int)
[Register("movePage", "(II)Z", "")]
public bool MovePage(int sourceIndex, int destinationIndex)
Parameters
sourceIndex
int
destinationIndex
int
Returns
- bool
PageAtIndex(int)
[Register("pageAtIndex", "(I)Lio/scanbot/sdk/docprocessing/Page;", "")]
public Page PageAtIndex(int index)
Parameters
index
int
Returns
- Page
PageIds()
[Register("pageIds", "()Ljava/util/List;", "")]
public IList<string> PageIds()
Returns
- IList<string>
PageWithId(string)
[Register("pageWithId", "(Ljava/lang/String;)Lio/scanbot/sdk/docprocessing/Page;", "")]
public Page PageWithId(string uuid)
Parameters
uuid
string
Returns
- Page
RemoveAllPages()
[Register("removeAllPages", "()V", "")]
public void RemoveAllPages()
RemovePage(Page)
[Register("removePage", "(Lio/scanbot/sdk/docprocessing/Page;)Z", "")]
public bool RemovePage(Page page)
Parameters
page
Page
Returns
- bool
RemovePage(int)
[Register("removePage", "(I)Z", "")]
public bool RemovePage(int atIndex)
Parameters
atIndex
int
Returns
- bool
RemovePage(string)
[Register("removePage", "(Ljava/lang/String;)Z", "")]
public bool RemovePage(string pageUuid)
Parameters
pageUuid
string
Returns
- bool
SaveSync()
[Register("saveSync", "()V", "")]
public void SaveSync()
SortPagesById(IList<string>)
[Register("sortPagesById", "(Ljava/util/List;)V", "")]
public void SortPagesById(IList<string> pageIds)
Parameters
pageIds
IList<string>
ToJson()
[Register("toJson", "()Ljava/lang/String;", "")]
public string ToJson()
Returns
- string